applicationautoscaling

package
v0.0.1-alpha.101 Latest Latest
Warning

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

Go to latest
Published: Jan 27, 2025 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 LookupScalableTargetArgs added in v0.12.0

type LookupScalableTargetArgs struct {
	// The identifier of the resource associated with the scalable target. This string consists of the resource type and unique identifier.
	//   +  ECS service - The resource type is “service“ and the unique identifier is the cluster name and service name. Example: “service/my-cluster/my-service“.
	//   +  Spot Fleet - The resource type is “spot-fleet-request“ and the unique identifier is the Spot Fleet request ID. Example: “spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE“.
	//   +  EMR cluster - The resource type is “instancegroup“ and the unique identifier is the cluster ID and instance group ID. Example: “instancegroup/j-2EEZNYKUA1NTV/ig-1791Y4E1L8YI0“.
	//   +  AppStream 2.0 fleet - The resource type is “fleet“ and the unique identifier is the fleet name. Example: “fleet/sample-fleet“.
	//   +  DynamoDB table - The resource type is “table“ and the unique identifier is the table name. Example: “table/my-table“.
	//   +  DynamoDB global secondary index - The resource type is “index“ and the unique identifier is the index name. Example: “table/my-table/index/my-table-index“.
	//   +  Aurora DB cluster - The resource type is “cluster“ and the unique identifier is the cluster name. Example: “cluster:my-db-cluster“.
	//   +  SageMaker endpoint variant - The resource type is “variant“ and the unique identifier is the resource ID. Example: “endpoint/my-end-point/variant/KMeansClustering“.
	//   +  Custom resources are not supported with a resource type. This parameter must specify the “OutputValue“ from the CloudFormation template stack used to access the resources. The unique identifier is defined by the service provider. More information is available in our [GitHub repository](https://docs.aws.amazon.com/https://github.com/aws/aws-auto-scaling-custom-resource).
	//   +  Amazon Comprehend document classification endpoint - The resource type and unique identifier are specified using the endpoint ARN. Example: “arn:aws:comprehend:us-west-2:123456789012:document-classifier-endpoint/EXAMPLE“.
	//   +  Amazon Comprehend entity recognizer endpoint - The resource type and unique identifier are specified using the endpoint ARN. Example: “arn:aws:comprehend:us-west-2:123456789012:entity-recognizer-endpoint/EXAMPLE“.
	//   +  Lambda provisioned concurrency - The resource type is “function“ and the unique identifier is the function name with a function version or alias name suffix that is not “$LATEST“. Example: “function:my-function:prod“ or “function:my-function:1“.
	//   +  Amazon Keyspaces table - The resource type is “table“ and the unique identifier is the table name. Example: “keyspace/mykeyspace/table/mytable“.
	//   +  Amazon MSK cluster - The resource type and unique identifier are specified using the cluster ARN. Example: “arn:aws:kafka:us-east-1:123456789012:cluster/demo-cluster-1/6357e0b2-0e6a-4b86-a0b4-70df934c2e31-5“.
	//   +  Amazon ElastiCache replication group - The resource type is “replication-group“ and the unique identifier is the replication group name. Example: “replication-group/mycluster“.
	//   +  Neptune cluster - The resource type is “cluster“ and the unique identifier is the cluster name. Example: “cluster:mycluster“.
	//   +  SageMaker serverless endpoint - The resource type is “variant“ and the unique identifier is the resource ID. Example: “endpoint/my-end-point/variant/KMeansClustering“.
	//   +  SageMaker inference component - The resource type is “inference-component“ and the unique identifier is the resource ID. Example: “inference-component/my-inference-component“.
	ResourceId string `pulumi:"resourceId"`
	// The scalable dimension associated with the scalable target. This string consists of the service namespace, resource type, and scaling property.
	//   +   “ecs:service:DesiredCount“ - The desired task count of an ECS service.
	//   +   “elasticmapreduce:instancegroup:InstanceCount“ - The instance count of an EMR Instance Group.
	//   +   “ec2:spot-fleet-request:TargetCapacity“ - The target capacity of a Spot Fleet.
	//   +   “appstream:fleet:DesiredCapacity“ - The desired capacity of an AppStream 2.0 fleet.
	//   +   “dynamodb:table:ReadCapacityUnits“ - The provisioned read capacity for a DynamoDB table.
	//   +   “dynamodb:table:WriteCapacityUnits“ - The provisioned write capacity for a DynamoDB table.
	//   +   “dynamodb:index:ReadCapacityUnits“ - The provisioned read capacity for a DynamoDB global secondary index.
	//   +   “dynamodb:index:WriteCapacityUnits“ - The provisioned write capacity for a DynamoDB global secondary index.
	//   +   “rds:cluster:ReadReplicaCount“ - The count of Aurora Replicas in an Aurora DB cluster. Available for Aurora MySQL-compatible edition and Aurora PostgreSQL-compatible edition.
	//   +   “sagemaker:variant:DesiredInstanceCount“ - The number of EC2 instances for a SageMaker model endpoint variant.
	//   +   “custom-resource:ResourceType:Property“ - The scalable dimension for a custom resource provided by your own application or service.
	//   +   “comprehend:document-classifier-endpoint:DesiredInferenceUnits“ - The number of inference units for an Amazon Comprehend document classification endpoint.
	//   +   “comprehend:entity-recognizer-endpoint:DesiredInferenceUnits“ - The number of inference units for an Amazon Comprehend entity recognizer endpoint.
	//   +   “lambda:function:ProvisionedConcurrency“ - The provisioned concurrency for a Lambda function.
	//   +   “cassandra:table:ReadCapacityUnits“ - The provisioned read capacity for an Amazon Keyspaces table.
	//   +   “cassandra:table:WriteCapacityUnits“ - The provisioned write capacity for an Amazon Keyspaces table.
	//   +   “kafka:broker-storage:VolumeSize“ - The provisioned volume size (in GiB) for brokers in an Amazon MSK cluster.
	//   +   “elasticache:replication-group:NodeGroups“ - The number of node groups for an Amazon ElastiCache replication group.
	//   +   “elasticache:replication-group:Replicas“ - The number of replicas per node group for an Amazon ElastiCache replication group.
	//   +   “neptune:cluster:ReadReplicaCount“ - The count of read replicas in an Amazon Neptune DB cluster.
	//   +   “sagemaker:variant:DesiredProvisionedConcurrency“ - The provisioned concurrency for a SageMaker serverless endpoint.
	//   +   “sagemaker:inference-component:DesiredCopyCount“ - The number of copies across an endpoint for a SageMaker inference component.
	ScalableDimension string `pulumi:"scalableDimension"`
	// The namespace of the AWS service that provides the resource, or a “custom-resource“.
	ServiceNamespace string `pulumi:"serviceNamespace"`
}

type LookupScalableTargetOutputArgs added in v0.12.0

type LookupScalableTargetOutputArgs struct {
	// The identifier of the resource associated with the scalable target. This string consists of the resource type and unique identifier.
	//   +  ECS service - The resource type is “service“ and the unique identifier is the cluster name and service name. Example: “service/my-cluster/my-service“.
	//   +  Spot Fleet - The resource type is “spot-fleet-request“ and the unique identifier is the Spot Fleet request ID. Example: “spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE“.
	//   +  EMR cluster - The resource type is “instancegroup“ and the unique identifier is the cluster ID and instance group ID. Example: “instancegroup/j-2EEZNYKUA1NTV/ig-1791Y4E1L8YI0“.
	//   +  AppStream 2.0 fleet - The resource type is “fleet“ and the unique identifier is the fleet name. Example: “fleet/sample-fleet“.
	//   +  DynamoDB table - The resource type is “table“ and the unique identifier is the table name. Example: “table/my-table“.
	//   +  DynamoDB global secondary index - The resource type is “index“ and the unique identifier is the index name. Example: “table/my-table/index/my-table-index“.
	//   +  Aurora DB cluster - The resource type is “cluster“ and the unique identifier is the cluster name. Example: “cluster:my-db-cluster“.
	//   +  SageMaker endpoint variant - The resource type is “variant“ and the unique identifier is the resource ID. Example: “endpoint/my-end-point/variant/KMeansClustering“.
	//   +  Custom resources are not supported with a resource type. This parameter must specify the “OutputValue“ from the CloudFormation template stack used to access the resources. The unique identifier is defined by the service provider. More information is available in our [GitHub repository](https://docs.aws.amazon.com/https://github.com/aws/aws-auto-scaling-custom-resource).
	//   +  Amazon Comprehend document classification endpoint - The resource type and unique identifier are specified using the endpoint ARN. Example: “arn:aws:comprehend:us-west-2:123456789012:document-classifier-endpoint/EXAMPLE“.
	//   +  Amazon Comprehend entity recognizer endpoint - The resource type and unique identifier are specified using the endpoint ARN. Example: “arn:aws:comprehend:us-west-2:123456789012:entity-recognizer-endpoint/EXAMPLE“.
	//   +  Lambda provisioned concurrency - The resource type is “function“ and the unique identifier is the function name with a function version or alias name suffix that is not “$LATEST“. Example: “function:my-function:prod“ or “function:my-function:1“.
	//   +  Amazon Keyspaces table - The resource type is “table“ and the unique identifier is the table name. Example: “keyspace/mykeyspace/table/mytable“.
	//   +  Amazon MSK cluster - The resource type and unique identifier are specified using the cluster ARN. Example: “arn:aws:kafka:us-east-1:123456789012:cluster/demo-cluster-1/6357e0b2-0e6a-4b86-a0b4-70df934c2e31-5“.
	//   +  Amazon ElastiCache replication group - The resource type is “replication-group“ and the unique identifier is the replication group name. Example: “replication-group/mycluster“.
	//   +  Neptune cluster - The resource type is “cluster“ and the unique identifier is the cluster name. Example: “cluster:mycluster“.
	//   +  SageMaker serverless endpoint - The resource type is “variant“ and the unique identifier is the resource ID. Example: “endpoint/my-end-point/variant/KMeansClustering“.
	//   +  SageMaker inference component - The resource type is “inference-component“ and the unique identifier is the resource ID. Example: “inference-component/my-inference-component“.
	ResourceId pulumi.StringInput `pulumi:"resourceId"`
	// The scalable dimension associated with the scalable target. This string consists of the service namespace, resource type, and scaling property.
	//   +   “ecs:service:DesiredCount“ - The desired task count of an ECS service.
	//   +   “elasticmapreduce:instancegroup:InstanceCount“ - The instance count of an EMR Instance Group.
	//   +   “ec2:spot-fleet-request:TargetCapacity“ - The target capacity of a Spot Fleet.
	//   +   “appstream:fleet:DesiredCapacity“ - The desired capacity of an AppStream 2.0 fleet.
	//   +   “dynamodb:table:ReadCapacityUnits“ - The provisioned read capacity for a DynamoDB table.
	//   +   “dynamodb:table:WriteCapacityUnits“ - The provisioned write capacity for a DynamoDB table.
	//   +   “dynamodb:index:ReadCapacityUnits“ - The provisioned read capacity for a DynamoDB global secondary index.
	//   +   “dynamodb:index:WriteCapacityUnits“ - The provisioned write capacity for a DynamoDB global secondary index.
	//   +   “rds:cluster:ReadReplicaCount“ - The count of Aurora Replicas in an Aurora DB cluster. Available for Aurora MySQL-compatible edition and Aurora PostgreSQL-compatible edition.
	//   +   “sagemaker:variant:DesiredInstanceCount“ - The number of EC2 instances for a SageMaker model endpoint variant.
	//   +   “custom-resource:ResourceType:Property“ - The scalable dimension for a custom resource provided by your own application or service.
	//   +   “comprehend:document-classifier-endpoint:DesiredInferenceUnits“ - The number of inference units for an Amazon Comprehend document classification endpoint.
	//   +   “comprehend:entity-recognizer-endpoint:DesiredInferenceUnits“ - The number of inference units for an Amazon Comprehend entity recognizer endpoint.
	//   +   “lambda:function:ProvisionedConcurrency“ - The provisioned concurrency for a Lambda function.
	//   +   “cassandra:table:ReadCapacityUnits“ - The provisioned read capacity for an Amazon Keyspaces table.
	//   +   “cassandra:table:WriteCapacityUnits“ - The provisioned write capacity for an Amazon Keyspaces table.
	//   +   “kafka:broker-storage:VolumeSize“ - The provisioned volume size (in GiB) for brokers in an Amazon MSK cluster.
	//   +   “elasticache:replication-group:NodeGroups“ - The number of node groups for an Amazon ElastiCache replication group.
	//   +   “elasticache:replication-group:Replicas“ - The number of replicas per node group for an Amazon ElastiCache replication group.
	//   +   “neptune:cluster:ReadReplicaCount“ - The count of read replicas in an Amazon Neptune DB cluster.
	//   +   “sagemaker:variant:DesiredProvisionedConcurrency“ - The provisioned concurrency for a SageMaker serverless endpoint.
	//   +   “sagemaker:inference-component:DesiredCopyCount“ - The number of copies across an endpoint for a SageMaker inference component.
	ScalableDimension pulumi.StringInput `pulumi:"scalableDimension"`
	// The namespace of the AWS service that provides the resource, or a “custom-resource“.
	ServiceNamespace pulumi.StringInput `pulumi:"serviceNamespace"`
}

func (LookupScalableTargetOutputArgs) ElementType added in v0.12.0

type LookupScalableTargetResult added in v0.12.0

type LookupScalableTargetResult struct {
	Id *string `pulumi:"id"`
	// The maximum value that you plan to scale out to. When a scaling policy is in effect, Application Auto Scaling can scale out (expand) as needed to the maximum capacity limit in response to changing demand.
	MaxCapacity *int `pulumi:"maxCapacity"`
	// The minimum value that you plan to scale in to. When a scaling policy is in effect, Application Auto Scaling can scale in (contract) as needed to the minimum capacity limit in response to changing demand.
	MinCapacity *int `pulumi:"minCapacity"`
	// The scheduled actions for the scalable target. Duplicates aren't allowed.
	ScheduledActions []ScalableTargetScheduledAction `pulumi:"scheduledActions"`
	// An embedded object that contains attributes and attribute values that are used to suspend and resume automatic scaling. Setting the value of an attribute to “true“ suspends the specified scaling activities. Setting it to “false“ (default) resumes the specified scaling activities.
	//   *Suspension Outcomes*
	//   +  For “DynamicScalingInSuspended“, while a suspension is in effect, all scale-in activities that are triggered by a scaling policy are suspended.
	//   +  For “DynamicScalingOutSuspended“, while a suspension is in effect, all scale-out activities that are triggered by a scaling policy are suspended.
	//   +  For “ScheduledScalingSuspended“, while a suspension is in effect, all scaling activities that involve scheduled actions are suspended.
	SuspendedState *ScalableTargetSuspendedState `pulumi:"suspendedState"`
}

func LookupScalableTarget added in v0.12.0

func LookupScalableTarget(ctx *pulumi.Context, args *LookupScalableTargetArgs, opts ...pulumi.InvokeOption) (*LookupScalableTargetResult, error)

The “AWS::ApplicationAutoScaling::ScalableTarget“ resource specifies a resource that Application Auto Scaling can scale, such as an AWS::DynamoDB::Table or AWS::ECS::Service resource.

For more information, see [Getting started](https://docs.aws.amazon.com/autoscaling/application/userguide/getting-started.html) in the *Application Auto Scaling User Guide*.
 If the resource that you want Application Auto Scaling to scale is not yet created in your account, add a dependency on the resource when registering it as a scalable target using the [DependsOn](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-dependson.html) attribute.

type LookupScalableTargetResultOutput added in v0.12.0

type LookupScalableTargetResultOutput struct{ *pulumi.OutputState }

func LookupScalableTargetOutput added in v0.12.0

func (LookupScalableTargetResultOutput) ElementType added in v0.12.0

func (LookupScalableTargetResultOutput) Id added in v0.12.0

func (LookupScalableTargetResultOutput) MaxCapacity added in v0.12.0

The maximum value that you plan to scale out to. When a scaling policy is in effect, Application Auto Scaling can scale out (expand) as needed to the maximum capacity limit in response to changing demand.

func (LookupScalableTargetResultOutput) MinCapacity added in v0.12.0

The minimum value that you plan to scale in to. When a scaling policy is in effect, Application Auto Scaling can scale in (contract) as needed to the minimum capacity limit in response to changing demand.

func (LookupScalableTargetResultOutput) ScheduledActions added in v0.12.0

The scheduled actions for the scalable target. Duplicates aren't allowed.

func (LookupScalableTargetResultOutput) SuspendedState added in v0.12.0

An embedded object that contains attributes and attribute values that are used to suspend and resume automatic scaling. Setting the value of an attribute to “true“ suspends the specified scaling activities. Setting it to “false“ (default) resumes the specified scaling activities.

*Suspension Outcomes*
+  For ``DynamicScalingInSuspended``, while a suspension is in effect, all scale-in activities that are triggered by a scaling policy are suspended.
+  For ``DynamicScalingOutSuspended``, while a suspension is in effect, all scale-out activities that are triggered by a scaling policy are suspended.
+  For ``ScheduledScalingSuspended``, while a suspension is in effect, all scaling activities that involve scheduled actions are suspended.

func (LookupScalableTargetResultOutput) ToLookupScalableTargetResultOutput added in v0.12.0

func (o LookupScalableTargetResultOutput) ToLookupScalableTargetResultOutput() LookupScalableTargetResultOutput

func (LookupScalableTargetResultOutput) ToLookupScalableTargetResultOutputWithContext added in v0.12.0

func (o LookupScalableTargetResultOutput) ToLookupScalableTargetResultOutputWithContext(ctx context.Context) LookupScalableTargetResultOutput

type LookupScalingPolicyArgs added in v0.12.0

type LookupScalingPolicyArgs struct {
	// Returns the ARN of a scaling policy.
	Arn string `pulumi:"arn"`
	// The scalable dimension. This string consists of the service namespace, resource type, and scaling property.
	//   +   “ecs:service:DesiredCount“ - The task count of an ECS service.
	//   +   “elasticmapreduce:instancegroup:InstanceCount“ - The instance count of an EMR Instance Group.
	//   +   “ec2:spot-fleet-request:TargetCapacity“ - The target capacity of a Spot Fleet.
	//   +   “appstream:fleet:DesiredCapacity“ - The capacity of an AppStream 2.0 fleet.
	//   +   “dynamodb:table:ReadCapacityUnits“ - The provisioned read capacity for a DynamoDB table.
	//   +   “dynamodb:table:WriteCapacityUnits“ - The provisioned write capacity for a DynamoDB table.
	//   +   “dynamodb:index:ReadCapacityUnits“ - The provisioned read capacity for a DynamoDB global secondary index.
	//   +   “dynamodb:index:WriteCapacityUnits“ - The provisioned write capacity for a DynamoDB global secondary index.
	//   +   “rds:cluster:ReadReplicaCount“ - The count of Aurora Replicas in an Aurora DB cluster. Available for Aurora MySQL-compatible edition and Aurora PostgreSQL-compatible edition.
	//   +   “sagemaker:variant:DesiredInstanceCount“ - The number of EC2 instances for a SageMaker model endpoint variant.
	//   +   “custom-resource:ResourceType:Property“ - The scalable dimension for a custom resource provided by your own application or service.
	//   +   “comprehend:document-classifier-endpoint:DesiredInferenceUnits“ - The number of inference units for an Amazon Comprehend document classification endpoint.
	//   +   “comprehend:entity-recognizer-endpoint:DesiredInferenceUnits“ - The number of inference units for an Amazon Comprehend entity recognizer endpoint.
	//   +   “lambda:function:ProvisionedConcurrency“ - The provisioned concurrency for a Lambda function.
	//   +   “cassandra:table:ReadCapacityUnits“ - The provisioned read capacity for an Amazon Keyspaces table.
	//   +   “cassandra:table:WriteCapacityUnits“ - The provisioned write capacity for an Amazon Keyspaces table.
	//   +   “kafka:broker-storage:VolumeSize“ - The provisioned volume size (in GiB) for brokers in an Amazon MSK cluster.
	//   +   “elasticache:replication-group:NodeGroups“ - The number of node groups for an Amazon ElastiCache replication group.
	//   +   “elasticache:replication-group:Replicas“ - The number of replicas per node group for an Amazon ElastiCache replication group.
	//   +   “neptune:cluster:ReadReplicaCount“ - The count of read replicas in an Amazon Neptune DB cluster.
	//   +   “sagemaker:variant:DesiredProvisionedConcurrency“ - The provisioned concurrency for a SageMaker serverless endpoint.
	//   +   “sagemaker:inference-component:DesiredCopyCount“ - The number of copies across an endpoint for a SageMaker inference component.
	//   +   “workspaces:workspacespool:DesiredUserSessions“ - The number of user sessions for the WorkSpaces in the pool.
	ScalableDimension string `pulumi:"scalableDimension"`
}

type LookupScalingPolicyOutputArgs added in v0.12.0

type LookupScalingPolicyOutputArgs struct {
	// Returns the ARN of a scaling policy.
	Arn pulumi.StringInput `pulumi:"arn"`
	// The scalable dimension. This string consists of the service namespace, resource type, and scaling property.
	//   +   “ecs:service:DesiredCount“ - The task count of an ECS service.
	//   +   “elasticmapreduce:instancegroup:InstanceCount“ - The instance count of an EMR Instance Group.
	//   +   “ec2:spot-fleet-request:TargetCapacity“ - The target capacity of a Spot Fleet.
	//   +   “appstream:fleet:DesiredCapacity“ - The capacity of an AppStream 2.0 fleet.
	//   +   “dynamodb:table:ReadCapacityUnits“ - The provisioned read capacity for a DynamoDB table.
	//   +   “dynamodb:table:WriteCapacityUnits“ - The provisioned write capacity for a DynamoDB table.
	//   +   “dynamodb:index:ReadCapacityUnits“ - The provisioned read capacity for a DynamoDB global secondary index.
	//   +   “dynamodb:index:WriteCapacityUnits“ - The provisioned write capacity for a DynamoDB global secondary index.
	//   +   “rds:cluster:ReadReplicaCount“ - The count of Aurora Replicas in an Aurora DB cluster. Available for Aurora MySQL-compatible edition and Aurora PostgreSQL-compatible edition.
	//   +   “sagemaker:variant:DesiredInstanceCount“ - The number of EC2 instances for a SageMaker model endpoint variant.
	//   +   “custom-resource:ResourceType:Property“ - The scalable dimension for a custom resource provided by your own application or service.
	//   +   “comprehend:document-classifier-endpoint:DesiredInferenceUnits“ - The number of inference units for an Amazon Comprehend document classification endpoint.
	//   +   “comprehend:entity-recognizer-endpoint:DesiredInferenceUnits“ - The number of inference units for an Amazon Comprehend entity recognizer endpoint.
	//   +   “lambda:function:ProvisionedConcurrency“ - The provisioned concurrency for a Lambda function.
	//   +   “cassandra:table:ReadCapacityUnits“ - The provisioned read capacity for an Amazon Keyspaces table.
	//   +   “cassandra:table:WriteCapacityUnits“ - The provisioned write capacity for an Amazon Keyspaces table.
	//   +   “kafka:broker-storage:VolumeSize“ - The provisioned volume size (in GiB) for brokers in an Amazon MSK cluster.
	//   +   “elasticache:replication-group:NodeGroups“ - The number of node groups for an Amazon ElastiCache replication group.
	//   +   “elasticache:replication-group:Replicas“ - The number of replicas per node group for an Amazon ElastiCache replication group.
	//   +   “neptune:cluster:ReadReplicaCount“ - The count of read replicas in an Amazon Neptune DB cluster.
	//   +   “sagemaker:variant:DesiredProvisionedConcurrency“ - The provisioned concurrency for a SageMaker serverless endpoint.
	//   +   “sagemaker:inference-component:DesiredCopyCount“ - The number of copies across an endpoint for a SageMaker inference component.
	//   +   “workspaces:workspacespool:DesiredUserSessions“ - The number of user sessions for the WorkSpaces in the pool.
	ScalableDimension pulumi.StringInput `pulumi:"scalableDimension"`
}

func (LookupScalingPolicyOutputArgs) ElementType added in v0.12.0

type LookupScalingPolicyResult added in v0.12.0

type LookupScalingPolicyResult struct {
	// Returns the ARN of a scaling policy.
	Arn *string `pulumi:"arn"`
	// The scaling policy type.
	//  The following policy types are supported:
	//   “TargetTrackingScaling“—Not supported for Amazon EMR
	//   “StepScaling“—Not supported for DynamoDB, Amazon Comprehend, Lambda, Amazon Keyspaces, Amazon MSK, Amazon ElastiCache, or Neptune.
	PolicyType *string `pulumi:"policyType"`
	// The predictive scaling policy configuration.
	PredictiveScalingPolicyConfiguration *ScalingPolicyPredictiveScalingPolicyConfiguration `pulumi:"predictiveScalingPolicyConfiguration"`
	// A step scaling policy.
	StepScalingPolicyConfiguration *ScalingPolicyStepScalingPolicyConfiguration `pulumi:"stepScalingPolicyConfiguration"`
	// A target tracking scaling policy.
	TargetTrackingScalingPolicyConfiguration *ScalingPolicyTargetTrackingScalingPolicyConfiguration `pulumi:"targetTrackingScalingPolicyConfiguration"`
}

func LookupScalingPolicy added in v0.12.0

func LookupScalingPolicy(ctx *pulumi.Context, args *LookupScalingPolicyArgs, opts ...pulumi.InvokeOption) (*LookupScalingPolicyResult, error)

The “AWS::ApplicationAutoScaling::ScalingPolicy“ resource defines a scaling policy that Application Auto Scaling uses to adjust the capacity of a scalable target.

For more information, see [Target tracking scaling policies](https://docs.aws.amazon.com/autoscaling/application/userguide/application-auto-scaling-target-tracking.html) and [Step scaling policies](https://docs.aws.amazon.com/autoscaling/application/userguide/application-auto-scaling-step-scaling-policies.html) in the *Application Auto Scaling User Guide*.

type LookupScalingPolicyResultOutput added in v0.12.0

type LookupScalingPolicyResultOutput struct{ *pulumi.OutputState }

func LookupScalingPolicyOutput added in v0.12.0

func (LookupScalingPolicyResultOutput) Arn added in v0.85.0

Returns the ARN of a scaling policy.

func (LookupScalingPolicyResultOutput) ElementType added in v0.12.0

func (LookupScalingPolicyResultOutput) PolicyType added in v0.12.0

The scaling policy type.

The following policy types are supported:
 ``TargetTrackingScaling``—Not supported for Amazon EMR
 ``StepScaling``—Not supported for DynamoDB, Amazon Comprehend, Lambda, Amazon Keyspaces, Amazon MSK, Amazon ElastiCache, or Neptune.

func (LookupScalingPolicyResultOutput) PredictiveScalingPolicyConfiguration added in v1.9.0

The predictive scaling policy configuration.

func (LookupScalingPolicyResultOutput) StepScalingPolicyConfiguration added in v0.12.0

A step scaling policy.

func (LookupScalingPolicyResultOutput) TargetTrackingScalingPolicyConfiguration added in v0.12.0

A target tracking scaling policy.

func (LookupScalingPolicyResultOutput) ToLookupScalingPolicyResultOutput added in v0.12.0

func (o LookupScalingPolicyResultOutput) ToLookupScalingPolicyResultOutput() LookupScalingPolicyResultOutput

func (LookupScalingPolicyResultOutput) ToLookupScalingPolicyResultOutputWithContext added in v0.12.0

func (o LookupScalingPolicyResultOutput) ToLookupScalingPolicyResultOutputWithContext(ctx context.Context) LookupScalingPolicyResultOutput

type ScalableTarget

type ScalableTarget struct {
	pulumi.CustomResourceState

	AwsId pulumi.StringOutput `pulumi:"awsId"`
	// The maximum value that you plan to scale out to. When a scaling policy is in effect, Application Auto Scaling can scale out (expand) as needed to the maximum capacity limit in response to changing demand.
	MaxCapacity pulumi.IntOutput `pulumi:"maxCapacity"`
	// The minimum value that you plan to scale in to. When a scaling policy is in effect, Application Auto Scaling can scale in (contract) as needed to the minimum capacity limit in response to changing demand.
	MinCapacity pulumi.IntOutput `pulumi:"minCapacity"`
	// The identifier of the resource associated with the scalable target. This string consists of the resource type and unique identifier.
	//   +  ECS service - The resource type is “service“ and the unique identifier is the cluster name and service name. Example: “service/my-cluster/my-service“.
	//   +  Spot Fleet - The resource type is “spot-fleet-request“ and the unique identifier is the Spot Fleet request ID. Example: “spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE“.
	//   +  EMR cluster - The resource type is “instancegroup“ and the unique identifier is the cluster ID and instance group ID. Example: “instancegroup/j-2EEZNYKUA1NTV/ig-1791Y4E1L8YI0“.
	//   +  AppStream 2.0 fleet - The resource type is “fleet“ and the unique identifier is the fleet name. Example: “fleet/sample-fleet“.
	//   +  DynamoDB table - The resource type is “table“ and the unique identifier is the table name. Example: “table/my-table“.
	//   +  DynamoDB global secondary index - The resource type is “index“ and the unique identifier is the index name. Example: “table/my-table/index/my-table-index“.
	//   +  Aurora DB cluster - The resource type is “cluster“ and the unique identifier is the cluster name. Example: “cluster:my-db-cluster“.
	//   +  SageMaker endpoint variant - The resource type is “variant“ and the unique identifier is the resource ID. Example: “endpoint/my-end-point/variant/KMeansClustering“.
	//   +  Custom resources are not supported with a resource type. This parameter must specify the “OutputValue“ from the CloudFormation template stack used to access the resources. The unique identifier is defined by the service provider. More information is available in our [GitHub repository](https://docs.aws.amazon.com/https://github.com/aws/aws-auto-scaling-custom-resource).
	//   +  Amazon Comprehend document classification endpoint - The resource type and unique identifier are specified using the endpoint ARN. Example: “arn:aws:comprehend:us-west-2:123456789012:document-classifier-endpoint/EXAMPLE“.
	//   +  Amazon Comprehend entity recognizer endpoint - The resource type and unique identifier are specified using the endpoint ARN. Example: “arn:aws:comprehend:us-west-2:123456789012:entity-recognizer-endpoint/EXAMPLE“.
	//   +  Lambda provisioned concurrency - The resource type is “function“ and the unique identifier is the function name with a function version or alias name suffix that is not “$LATEST“. Example: “function:my-function:prod“ or “function:my-function:1“.
	//   +  Amazon Keyspaces table - The resource type is “table“ and the unique identifier is the table name. Example: “keyspace/mykeyspace/table/mytable“.
	//   +  Amazon MSK cluster - The resource type and unique identifier are specified using the cluster ARN. Example: “arn:aws:kafka:us-east-1:123456789012:cluster/demo-cluster-1/6357e0b2-0e6a-4b86-a0b4-70df934c2e31-5“.
	//   +  Amazon ElastiCache replication group - The resource type is “replication-group“ and the unique identifier is the replication group name. Example: “replication-group/mycluster“.
	//   +  Neptune cluster - The resource type is “cluster“ and the unique identifier is the cluster name. Example: “cluster:mycluster“.
	//   +  SageMaker serverless endpoint - The resource type is “variant“ and the unique identifier is the resource ID. Example: “endpoint/my-end-point/variant/KMeansClustering“.
	//   +  SageMaker inference component - The resource type is “inference-component“ and the unique identifier is the resource ID. Example: “inference-component/my-inference-component“.
	ResourceId pulumi.StringOutput `pulumi:"resourceId"`
	// Specify the Amazon Resource Name (ARN) of an Identity and Access Management (IAM) role that allows Application Auto Scaling to modify the scalable target on your behalf. This can be either an IAM service role that Application Auto Scaling can assume to make calls to other AWS resources on your behalf, or a service-linked role for the specified service. For more information, see [How Application Auto Scaling works with IAM](https://docs.aws.amazon.com/autoscaling/application/userguide/security_iam_service-with-iam.html) in the *Application Auto Scaling User Guide*.
	//  To automatically create a service-linked role (recommended), specify the full ARN of the service-linked role in your stack template. To find the exact ARN of the service-linked role for your AWS or custom resource, see the [Service-linked roles](https://docs.aws.amazon.com/autoscaling/application/userguide/application-auto-scaling-service-linked-roles.html) topic in the *Application Auto Scaling User Guide*. Look for the ARN in the table at the bottom of the page.
	RoleArn pulumi.StringPtrOutput `pulumi:"roleArn"`
	// The scalable dimension associated with the scalable target. This string consists of the service namespace, resource type, and scaling property.
	//   +   “ecs:service:DesiredCount“ - The desired task count of an ECS service.
	//   +   “elasticmapreduce:instancegroup:InstanceCount“ - The instance count of an EMR Instance Group.
	//   +   “ec2:spot-fleet-request:TargetCapacity“ - The target capacity of a Spot Fleet.
	//   +   “appstream:fleet:DesiredCapacity“ - The desired capacity of an AppStream 2.0 fleet.
	//   +   “dynamodb:table:ReadCapacityUnits“ - The provisioned read capacity for a DynamoDB table.
	//   +   “dynamodb:table:WriteCapacityUnits“ - The provisioned write capacity for a DynamoDB table.
	//   +   “dynamodb:index:ReadCapacityUnits“ - The provisioned read capacity for a DynamoDB global secondary index.
	//   +   “dynamodb:index:WriteCapacityUnits“ - The provisioned write capacity for a DynamoDB global secondary index.
	//   +   “rds:cluster:ReadReplicaCount“ - The count of Aurora Replicas in an Aurora DB cluster. Available for Aurora MySQL-compatible edition and Aurora PostgreSQL-compatible edition.
	//   +   “sagemaker:variant:DesiredInstanceCount“ - The number of EC2 instances for a SageMaker model endpoint variant.
	//   +   “custom-resource:ResourceType:Property“ - The scalable dimension for a custom resource provided by your own application or service.
	//   +   “comprehend:document-classifier-endpoint:DesiredInferenceUnits“ - The number of inference units for an Amazon Comprehend document classification endpoint.
	//   +   “comprehend:entity-recognizer-endpoint:DesiredInferenceUnits“ - The number of inference units for an Amazon Comprehend entity recognizer endpoint.
	//   +   “lambda:function:ProvisionedConcurrency“ - The provisioned concurrency for a Lambda function.
	//   +   “cassandra:table:ReadCapacityUnits“ - The provisioned read capacity for an Amazon Keyspaces table.
	//   +   “cassandra:table:WriteCapacityUnits“ - The provisioned write capacity for an Amazon Keyspaces table.
	//   +   “kafka:broker-storage:VolumeSize“ - The provisioned volume size (in GiB) for brokers in an Amazon MSK cluster.
	//   +   “elasticache:replication-group:NodeGroups“ - The number of node groups for an Amazon ElastiCache replication group.
	//   +   “elasticache:replication-group:Replicas“ - The number of replicas per node group for an Amazon ElastiCache replication group.
	//   +   “neptune:cluster:ReadReplicaCount“ - The count of read replicas in an Amazon Neptune DB cluster.
	//   +   “sagemaker:variant:DesiredProvisionedConcurrency“ - The provisioned concurrency for a SageMaker serverless endpoint.
	//   +   “sagemaker:inference-component:DesiredCopyCount“ - The number of copies across an endpoint for a SageMaker inference component.
	ScalableDimension pulumi.StringOutput `pulumi:"scalableDimension"`
	// The scheduled actions for the scalable target. Duplicates aren't allowed.
	ScheduledActions ScalableTargetScheduledActionArrayOutput `pulumi:"scheduledActions"`
	// The namespace of the AWS service that provides the resource, or a “custom-resource“.
	ServiceNamespace pulumi.StringOutput `pulumi:"serviceNamespace"`
	// An embedded object that contains attributes and attribute values that are used to suspend and resume automatic scaling. Setting the value of an attribute to “true“ suspends the specified scaling activities. Setting it to “false“ (default) resumes the specified scaling activities.
	//   *Suspension Outcomes*
	//   +  For “DynamicScalingInSuspended“, while a suspension is in effect, all scale-in activities that are triggered by a scaling policy are suspended.
	//   +  For “DynamicScalingOutSuspended“, while a suspension is in effect, all scale-out activities that are triggered by a scaling policy are suspended.
	//   +  For “ScheduledScalingSuspended“, while a suspension is in effect, all scaling activities that involve scheduled actions are suspended.
	SuspendedState ScalableTargetSuspendedStatePtrOutput `pulumi:"suspendedState"`
}

The “AWS::ApplicationAutoScaling::ScalableTarget“ resource specifies a resource that Application Auto Scaling can scale, such as an AWS::DynamoDB::Table or AWS::ECS::Service resource.

For more information, see [Getting started](https://docs.aws.amazon.com/autoscaling/application/userguide/getting-started.html) in the *Application Auto Scaling User Guide*.
 If the resource that you want Application Auto Scaling to scale is not yet created in your account, add a dependency on the resource when registering it as a scalable target using the [DependsOn](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-dependson.html) attribute.

func GetScalableTarget

func GetScalableTarget(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ScalableTargetState, opts ...pulumi.ResourceOption) (*ScalableTarget, error)

GetScalableTarget gets an existing ScalableTarget resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewScalableTarget

func NewScalableTarget(ctx *pulumi.Context,
	name string, args *ScalableTargetArgs, opts ...pulumi.ResourceOption) (*ScalableTarget, error)

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

func (*ScalableTarget) ElementType

func (*ScalableTarget) ElementType() reflect.Type

func (*ScalableTarget) ToScalableTargetOutput

func (i *ScalableTarget) ToScalableTargetOutput() ScalableTargetOutput

func (*ScalableTarget) ToScalableTargetOutputWithContext

func (i *ScalableTarget) ToScalableTargetOutputWithContext(ctx context.Context) ScalableTargetOutput

type ScalableTargetAction added in v0.2.0

type ScalableTargetAction struct {
	// The maximum capacity.
	MaxCapacity *int `pulumi:"maxCapacity"`
	// The minimum capacity.
	MinCapacity *int `pulumi:"minCapacity"`
}

“ScalableTargetAction“ specifies the minimum and maximum capacity for the “ScalableTargetAction“ property of the [AWS::ApplicationAutoScaling::ScalableTarget ScheduledAction](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationautoscaling-scalabletarget-scheduledaction.html) property type.

type ScalableTargetActionArgs added in v0.2.0

type ScalableTargetActionArgs struct {
	// The maximum capacity.
	MaxCapacity pulumi.IntPtrInput `pulumi:"maxCapacity"`
	// The minimum capacity.
	MinCapacity pulumi.IntPtrInput `pulumi:"minCapacity"`
}

“ScalableTargetAction“ specifies the minimum and maximum capacity for the “ScalableTargetAction“ property of the [AWS::ApplicationAutoScaling::ScalableTarget ScheduledAction](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationautoscaling-scalabletarget-scheduledaction.html) property type.

func (ScalableTargetActionArgs) ElementType added in v0.2.0

func (ScalableTargetActionArgs) ElementType() reflect.Type

func (ScalableTargetActionArgs) ToScalableTargetActionOutput added in v0.2.0

func (i ScalableTargetActionArgs) ToScalableTargetActionOutput() ScalableTargetActionOutput

func (ScalableTargetActionArgs) ToScalableTargetActionOutputWithContext added in v0.2.0

func (i ScalableTargetActionArgs) ToScalableTargetActionOutputWithContext(ctx context.Context) ScalableTargetActionOutput

func (ScalableTargetActionArgs) ToScalableTargetActionPtrOutput added in v0.2.0

func (i ScalableTargetActionArgs) ToScalableTargetActionPtrOutput() ScalableTargetActionPtrOutput

func (ScalableTargetActionArgs) ToScalableTargetActionPtrOutputWithContext added in v0.2.0

func (i ScalableTargetActionArgs) ToScalableTargetActionPtrOutputWithContext(ctx context.Context) ScalableTargetActionPtrOutput

type ScalableTargetActionInput added in v0.2.0

type ScalableTargetActionInput interface {
	pulumi.Input

	ToScalableTargetActionOutput() ScalableTargetActionOutput
	ToScalableTargetActionOutputWithContext(context.Context) ScalableTargetActionOutput
}

ScalableTargetActionInput is an input type that accepts ScalableTargetActionArgs and ScalableTargetActionOutput values. You can construct a concrete instance of `ScalableTargetActionInput` via:

ScalableTargetActionArgs{...}

type ScalableTargetActionOutput added in v0.2.0

type ScalableTargetActionOutput struct{ *pulumi.OutputState }

“ScalableTargetAction“ specifies the minimum and maximum capacity for the “ScalableTargetAction“ property of the [AWS::ApplicationAutoScaling::ScalableTarget ScheduledAction](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationautoscaling-scalabletarget-scheduledaction.html) property type.

func (ScalableTargetActionOutput) ElementType added in v0.2.0

func (ScalableTargetActionOutput) ElementType() reflect.Type

func (ScalableTargetActionOutput) MaxCapacity added in v0.2.0

The maximum capacity.

func (ScalableTargetActionOutput) MinCapacity added in v0.2.0

The minimum capacity.

func (ScalableTargetActionOutput) ToScalableTargetActionOutput added in v0.2.0

func (o ScalableTargetActionOutput) ToScalableTargetActionOutput() ScalableTargetActionOutput

func (ScalableTargetActionOutput) ToScalableTargetActionOutputWithContext added in v0.2.0

func (o ScalableTargetActionOutput) ToScalableTargetActionOutputWithContext(ctx context.Context) ScalableTargetActionOutput

func (ScalableTargetActionOutput) ToScalableTargetActionPtrOutput added in v0.2.0

func (o ScalableTargetActionOutput) ToScalableTargetActionPtrOutput() ScalableTargetActionPtrOutput

func (ScalableTargetActionOutput) ToScalableTargetActionPtrOutputWithContext added in v0.2.0

func (o ScalableTargetActionOutput) ToScalableTargetActionPtrOutputWithContext(ctx context.Context) ScalableTargetActionPtrOutput

type ScalableTargetActionPtrInput added in v0.2.0

type ScalableTargetActionPtrInput interface {
	pulumi.Input

	ToScalableTargetActionPtrOutput() ScalableTargetActionPtrOutput
	ToScalableTargetActionPtrOutputWithContext(context.Context) ScalableTargetActionPtrOutput
}

ScalableTargetActionPtrInput is an input type that accepts ScalableTargetActionArgs, ScalableTargetActionPtr and ScalableTargetActionPtrOutput values. You can construct a concrete instance of `ScalableTargetActionPtrInput` via:

        ScalableTargetActionArgs{...}

or:

        nil

func ScalableTargetActionPtr added in v0.2.0

func ScalableTargetActionPtr(v *ScalableTargetActionArgs) ScalableTargetActionPtrInput

type ScalableTargetActionPtrOutput added in v0.2.0

type ScalableTargetActionPtrOutput struct{ *pulumi.OutputState }

func (ScalableTargetActionPtrOutput) Elem added in v0.2.0

func (ScalableTargetActionPtrOutput) ElementType added in v0.2.0

func (ScalableTargetActionPtrOutput) MaxCapacity added in v0.2.0

The maximum capacity.

func (ScalableTargetActionPtrOutput) MinCapacity added in v0.2.0

The minimum capacity.

func (ScalableTargetActionPtrOutput) ToScalableTargetActionPtrOutput added in v0.2.0

func (o ScalableTargetActionPtrOutput) ToScalableTargetActionPtrOutput() ScalableTargetActionPtrOutput

func (ScalableTargetActionPtrOutput) ToScalableTargetActionPtrOutputWithContext added in v0.2.0

func (o ScalableTargetActionPtrOutput) ToScalableTargetActionPtrOutputWithContext(ctx context.Context) ScalableTargetActionPtrOutput

type ScalableTargetArgs

type ScalableTargetArgs struct {
	// The maximum value that you plan to scale out to. When a scaling policy is in effect, Application Auto Scaling can scale out (expand) as needed to the maximum capacity limit in response to changing demand.
	MaxCapacity pulumi.IntInput
	// The minimum value that you plan to scale in to. When a scaling policy is in effect, Application Auto Scaling can scale in (contract) as needed to the minimum capacity limit in response to changing demand.
	MinCapacity pulumi.IntInput
	// The identifier of the resource associated with the scalable target. This string consists of the resource type and unique identifier.
	//   +  ECS service - The resource type is “service“ and the unique identifier is the cluster name and service name. Example: “service/my-cluster/my-service“.
	//   +  Spot Fleet - The resource type is “spot-fleet-request“ and the unique identifier is the Spot Fleet request ID. Example: “spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE“.
	//   +  EMR cluster - The resource type is “instancegroup“ and the unique identifier is the cluster ID and instance group ID. Example: “instancegroup/j-2EEZNYKUA1NTV/ig-1791Y4E1L8YI0“.
	//   +  AppStream 2.0 fleet - The resource type is “fleet“ and the unique identifier is the fleet name. Example: “fleet/sample-fleet“.
	//   +  DynamoDB table - The resource type is “table“ and the unique identifier is the table name. Example: “table/my-table“.
	//   +  DynamoDB global secondary index - The resource type is “index“ and the unique identifier is the index name. Example: “table/my-table/index/my-table-index“.
	//   +  Aurora DB cluster - The resource type is “cluster“ and the unique identifier is the cluster name. Example: “cluster:my-db-cluster“.
	//   +  SageMaker endpoint variant - The resource type is “variant“ and the unique identifier is the resource ID. Example: “endpoint/my-end-point/variant/KMeansClustering“.
	//   +  Custom resources are not supported with a resource type. This parameter must specify the “OutputValue“ from the CloudFormation template stack used to access the resources. The unique identifier is defined by the service provider. More information is available in our [GitHub repository](https://docs.aws.amazon.com/https://github.com/aws/aws-auto-scaling-custom-resource).
	//   +  Amazon Comprehend document classification endpoint - The resource type and unique identifier are specified using the endpoint ARN. Example: “arn:aws:comprehend:us-west-2:123456789012:document-classifier-endpoint/EXAMPLE“.
	//   +  Amazon Comprehend entity recognizer endpoint - The resource type and unique identifier are specified using the endpoint ARN. Example: “arn:aws:comprehend:us-west-2:123456789012:entity-recognizer-endpoint/EXAMPLE“.
	//   +  Lambda provisioned concurrency - The resource type is “function“ and the unique identifier is the function name with a function version or alias name suffix that is not “$LATEST“. Example: “function:my-function:prod“ or “function:my-function:1“.
	//   +  Amazon Keyspaces table - The resource type is “table“ and the unique identifier is the table name. Example: “keyspace/mykeyspace/table/mytable“.
	//   +  Amazon MSK cluster - The resource type and unique identifier are specified using the cluster ARN. Example: “arn:aws:kafka:us-east-1:123456789012:cluster/demo-cluster-1/6357e0b2-0e6a-4b86-a0b4-70df934c2e31-5“.
	//   +  Amazon ElastiCache replication group - The resource type is “replication-group“ and the unique identifier is the replication group name. Example: “replication-group/mycluster“.
	//   +  Neptune cluster - The resource type is “cluster“ and the unique identifier is the cluster name. Example: “cluster:mycluster“.
	//   +  SageMaker serverless endpoint - The resource type is “variant“ and the unique identifier is the resource ID. Example: “endpoint/my-end-point/variant/KMeansClustering“.
	//   +  SageMaker inference component - The resource type is “inference-component“ and the unique identifier is the resource ID. Example: “inference-component/my-inference-component“.
	ResourceId pulumi.StringInput
	// Specify the Amazon Resource Name (ARN) of an Identity and Access Management (IAM) role that allows Application Auto Scaling to modify the scalable target on your behalf. This can be either an IAM service role that Application Auto Scaling can assume to make calls to other AWS resources on your behalf, or a service-linked role for the specified service. For more information, see [How Application Auto Scaling works with IAM](https://docs.aws.amazon.com/autoscaling/application/userguide/security_iam_service-with-iam.html) in the *Application Auto Scaling User Guide*.
	//  To automatically create a service-linked role (recommended), specify the full ARN of the service-linked role in your stack template. To find the exact ARN of the service-linked role for your AWS or custom resource, see the [Service-linked roles](https://docs.aws.amazon.com/autoscaling/application/userguide/application-auto-scaling-service-linked-roles.html) topic in the *Application Auto Scaling User Guide*. Look for the ARN in the table at the bottom of the page.
	RoleArn pulumi.StringPtrInput
	// The scalable dimension associated with the scalable target. This string consists of the service namespace, resource type, and scaling property.
	//   +   “ecs:service:DesiredCount“ - The desired task count of an ECS service.
	//   +   “elasticmapreduce:instancegroup:InstanceCount“ - The instance count of an EMR Instance Group.
	//   +   “ec2:spot-fleet-request:TargetCapacity“ - The target capacity of a Spot Fleet.
	//   +   “appstream:fleet:DesiredCapacity“ - The desired capacity of an AppStream 2.0 fleet.
	//   +   “dynamodb:table:ReadCapacityUnits“ - The provisioned read capacity for a DynamoDB table.
	//   +   “dynamodb:table:WriteCapacityUnits“ - The provisioned write capacity for a DynamoDB table.
	//   +   “dynamodb:index:ReadCapacityUnits“ - The provisioned read capacity for a DynamoDB global secondary index.
	//   +   “dynamodb:index:WriteCapacityUnits“ - The provisioned write capacity for a DynamoDB global secondary index.
	//   +   “rds:cluster:ReadReplicaCount“ - The count of Aurora Replicas in an Aurora DB cluster. Available for Aurora MySQL-compatible edition and Aurora PostgreSQL-compatible edition.
	//   +   “sagemaker:variant:DesiredInstanceCount“ - The number of EC2 instances for a SageMaker model endpoint variant.
	//   +   “custom-resource:ResourceType:Property“ - The scalable dimension for a custom resource provided by your own application or service.
	//   +   “comprehend:document-classifier-endpoint:DesiredInferenceUnits“ - The number of inference units for an Amazon Comprehend document classification endpoint.
	//   +   “comprehend:entity-recognizer-endpoint:DesiredInferenceUnits“ - The number of inference units for an Amazon Comprehend entity recognizer endpoint.
	//   +   “lambda:function:ProvisionedConcurrency“ - The provisioned concurrency for a Lambda function.
	//   +   “cassandra:table:ReadCapacityUnits“ - The provisioned read capacity for an Amazon Keyspaces table.
	//   +   “cassandra:table:WriteCapacityUnits“ - The provisioned write capacity for an Amazon Keyspaces table.
	//   +   “kafka:broker-storage:VolumeSize“ - The provisioned volume size (in GiB) for brokers in an Amazon MSK cluster.
	//   +   “elasticache:replication-group:NodeGroups“ - The number of node groups for an Amazon ElastiCache replication group.
	//   +   “elasticache:replication-group:Replicas“ - The number of replicas per node group for an Amazon ElastiCache replication group.
	//   +   “neptune:cluster:ReadReplicaCount“ - The count of read replicas in an Amazon Neptune DB cluster.
	//   +   “sagemaker:variant:DesiredProvisionedConcurrency“ - The provisioned concurrency for a SageMaker serverless endpoint.
	//   +   “sagemaker:inference-component:DesiredCopyCount“ - The number of copies across an endpoint for a SageMaker inference component.
	ScalableDimension pulumi.StringInput
	// The scheduled actions for the scalable target. Duplicates aren't allowed.
	ScheduledActions ScalableTargetScheduledActionArrayInput
	// The namespace of the AWS service that provides the resource, or a “custom-resource“.
	ServiceNamespace pulumi.StringInput
	// An embedded object that contains attributes and attribute values that are used to suspend and resume automatic scaling. Setting the value of an attribute to “true“ suspends the specified scaling activities. Setting it to “false“ (default) resumes the specified scaling activities.
	//   *Suspension Outcomes*
	//   +  For “DynamicScalingInSuspended“, while a suspension is in effect, all scale-in activities that are triggered by a scaling policy are suspended.
	//   +  For “DynamicScalingOutSuspended“, while a suspension is in effect, all scale-out activities that are triggered by a scaling policy are suspended.
	//   +  For “ScheduledScalingSuspended“, while a suspension is in effect, all scaling activities that involve scheduled actions are suspended.
	SuspendedState ScalableTargetSuspendedStatePtrInput
}

The set of arguments for constructing a ScalableTarget resource.

func (ScalableTargetArgs) ElementType

func (ScalableTargetArgs) ElementType() reflect.Type

type ScalableTargetInput

type ScalableTargetInput interface {
	pulumi.Input

	ToScalableTargetOutput() ScalableTargetOutput
	ToScalableTargetOutputWithContext(ctx context.Context) ScalableTargetOutput
}

type ScalableTargetOutput

type ScalableTargetOutput struct{ *pulumi.OutputState }

func (ScalableTargetOutput) AwsId added in v0.99.0

func (ScalableTargetOutput) ElementType

func (ScalableTargetOutput) ElementType() reflect.Type

func (ScalableTargetOutput) MaxCapacity added in v0.17.0

func (o ScalableTargetOutput) MaxCapacity() pulumi.IntOutput

The maximum value that you plan to scale out to. When a scaling policy is in effect, Application Auto Scaling can scale out (expand) as needed to the maximum capacity limit in response to changing demand.

func (ScalableTargetOutput) MinCapacity added in v0.17.0

func (o ScalableTargetOutput) MinCapacity() pulumi.IntOutput

The minimum value that you plan to scale in to. When a scaling policy is in effect, Application Auto Scaling can scale in (contract) as needed to the minimum capacity limit in response to changing demand.

func (ScalableTargetOutput) ResourceId added in v0.17.0

func (o ScalableTargetOutput) ResourceId() pulumi.StringOutput

The identifier of the resource associated with the scalable target. This string consists of the resource type and unique identifier.

  • ECS service - The resource type is “service“ and the unique identifier is the cluster name and service name. Example: “service/my-cluster/my-service“.
  • Spot Fleet - The resource type is “spot-fleet-request“ and the unique identifier is the Spot Fleet request ID. Example: “spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE“.
  • EMR cluster - The resource type is “instancegroup“ and the unique identifier is the cluster ID and instance group ID. Example: “instancegroup/j-2EEZNYKUA1NTV/ig-1791Y4E1L8YI0“.
  • AppStream 2.0 fleet - The resource type is “fleet“ and the unique identifier is the fleet name. Example: “fleet/sample-fleet“.
  • DynamoDB table - The resource type is “table“ and the unique identifier is the table name. Example: “table/my-table“.
  • DynamoDB global secondary index - The resource type is “index“ and the unique identifier is the index name. Example: “table/my-table/index/my-table-index“.
  • Aurora DB cluster - The resource type is “cluster“ and the unique identifier is the cluster name. Example: “cluster:my-db-cluster“.
  • SageMaker endpoint variant - The resource type is “variant“ and the unique identifier is the resource ID. Example: “endpoint/my-end-point/variant/KMeansClustering“.
  • Custom resources are not supported with a resource type. This parameter must specify the “OutputValue“ from the CloudFormation template stack used to access the resources. The unique identifier is defined by the service provider. More information is available in our [GitHub repository](https://docs.aws.amazon.com/https://github.com/aws/aws-auto-scaling-custom-resource).
  • Amazon Comprehend document classification endpoint - The resource type and unique identifier are specified using the endpoint ARN. Example: “arn:aws:comprehend:us-west-2:123456789012:document-classifier-endpoint/EXAMPLE“.
  • Amazon Comprehend entity recognizer endpoint - The resource type and unique identifier are specified using the endpoint ARN. Example: “arn:aws:comprehend:us-west-2:123456789012:entity-recognizer-endpoint/EXAMPLE“.
  • Lambda provisioned concurrency - The resource type is “function“ and the unique identifier is the function name with a function version or alias name suffix that is not “$LATEST“. Example: “function:my-function:prod“ or “function:my-function:1“.
  • Amazon Keyspaces table - The resource type is “table“ and the unique identifier is the table name. Example: “keyspace/mykeyspace/table/mytable“.
  • Amazon MSK cluster - The resource type and unique identifier are specified using the cluster ARN. Example: “arn:aws:kafka:us-east-1:123456789012:cluster/demo-cluster-1/6357e0b2-0e6a-4b86-a0b4-70df934c2e31-5“.
  • Amazon ElastiCache replication group - The resource type is “replication-group“ and the unique identifier is the replication group name. Example: “replication-group/mycluster“.
  • Neptune cluster - The resource type is “cluster“ and the unique identifier is the cluster name. Example: “cluster:mycluster“.
  • SageMaker serverless endpoint - The resource type is “variant“ and the unique identifier is the resource ID. Example: “endpoint/my-end-point/variant/KMeansClustering“.
  • SageMaker inference component - The resource type is “inference-component“ and the unique identifier is the resource ID. Example: “inference-component/my-inference-component“.

func (ScalableTargetOutput) RoleArn added in v0.72.0

Specify the Amazon Resource Name (ARN) of an Identity and Access Management (IAM) role that allows Application Auto Scaling to modify the scalable target on your behalf. This can be either an IAM service role that Application Auto Scaling can assume to make calls to other AWS resources on your behalf, or a service-linked role for the specified service. For more information, see [How Application Auto Scaling works with IAM](https://docs.aws.amazon.com/autoscaling/application/userguide/security_iam_service-with-iam.html) in the *Application Auto Scaling User Guide*.

To automatically create a service-linked role (recommended), specify the full ARN of the service-linked role in your stack template. To find the exact ARN of the service-linked role for your AWS or custom resource, see the [Service-linked roles](https://docs.aws.amazon.com/autoscaling/application/userguide/application-auto-scaling-service-linked-roles.html) topic in the *Application Auto Scaling User Guide*. Look for the ARN in the table at the bottom of the page.

func (ScalableTargetOutput) ScalableDimension added in v0.17.0

func (o ScalableTargetOutput) ScalableDimension() pulumi.StringOutput

The scalable dimension associated with the scalable target. This string consists of the service namespace, resource type, and scaling property.

  • “ecs:service:DesiredCount“ - The desired task count of an ECS service.
  • “elasticmapreduce:instancegroup:InstanceCount“ - The instance count of an EMR Instance Group.
  • “ec2:spot-fleet-request:TargetCapacity“ - The target capacity of a Spot Fleet.
  • “appstream:fleet:DesiredCapacity“ - The desired capacity of an AppStream 2.0 fleet.
  • “dynamodb:table:ReadCapacityUnits“ - The provisioned read capacity for a DynamoDB table.
  • “dynamodb:table:WriteCapacityUnits“ - The provisioned write capacity for a DynamoDB table.
  • “dynamodb:index:ReadCapacityUnits“ - The provisioned read capacity for a DynamoDB global secondary index.
  • “dynamodb:index:WriteCapacityUnits“ - The provisioned write capacity for a DynamoDB global secondary index.
  • “rds:cluster:ReadReplicaCount“ - The count of Aurora Replicas in an Aurora DB cluster. Available for Aurora MySQL-compatible edition and Aurora PostgreSQL-compatible edition.
  • “sagemaker:variant:DesiredInstanceCount“ - The number of EC2 instances for a SageMaker model endpoint variant.
  • “custom-resource:ResourceType:Property“ - The scalable dimension for a custom resource provided by your own application or service.
  • “comprehend:document-classifier-endpoint:DesiredInferenceUnits“ - The number of inference units for an Amazon Comprehend document classification endpoint.
  • “comprehend:entity-recognizer-endpoint:DesiredInferenceUnits“ - The number of inference units for an Amazon Comprehend entity recognizer endpoint.
  • “lambda:function:ProvisionedConcurrency“ - The provisioned concurrency for a Lambda function.
  • “cassandra:table:ReadCapacityUnits“ - The provisioned read capacity for an Amazon Keyspaces table.
  • “cassandra:table:WriteCapacityUnits“ - The provisioned write capacity for an Amazon Keyspaces table.
  • “kafka:broker-storage:VolumeSize“ - The provisioned volume size (in GiB) for brokers in an Amazon MSK cluster.
  • “elasticache:replication-group:NodeGroups“ - The number of node groups for an Amazon ElastiCache replication group.
  • “elasticache:replication-group:Replicas“ - The number of replicas per node group for an Amazon ElastiCache replication group.
  • “neptune:cluster:ReadReplicaCount“ - The count of read replicas in an Amazon Neptune DB cluster.
  • “sagemaker:variant:DesiredProvisionedConcurrency“ - The provisioned concurrency for a SageMaker serverless endpoint.
  • “sagemaker:inference-component:DesiredCopyCount“ - The number of copies across an endpoint for a SageMaker inference component.

func (ScalableTargetOutput) ScheduledActions added in v0.17.0

The scheduled actions for the scalable target. Duplicates aren't allowed.

func (ScalableTargetOutput) ServiceNamespace added in v0.17.0

func (o ScalableTargetOutput) ServiceNamespace() pulumi.StringOutput

The namespace of the AWS service that provides the resource, or a “custom-resource“.

func (ScalableTargetOutput) SuspendedState added in v0.17.0

An embedded object that contains attributes and attribute values that are used to suspend and resume automatic scaling. Setting the value of an attribute to “true“ suspends the specified scaling activities. Setting it to “false“ (default) resumes the specified scaling activities.

*Suspension Outcomes*
+  For ``DynamicScalingInSuspended``, while a suspension is in effect, all scale-in activities that are triggered by a scaling policy are suspended.
+  For ``DynamicScalingOutSuspended``, while a suspension is in effect, all scale-out activities that are triggered by a scaling policy are suspended.
+  For ``ScheduledScalingSuspended``, while a suspension is in effect, all scaling activities that involve scheduled actions are suspended.

func (ScalableTargetOutput) ToScalableTargetOutput

func (o ScalableTargetOutput) ToScalableTargetOutput() ScalableTargetOutput

func (ScalableTargetOutput) ToScalableTargetOutputWithContext

func (o ScalableTargetOutput) ToScalableTargetOutputWithContext(ctx context.Context) ScalableTargetOutput

type ScalableTargetScheduledAction

type ScalableTargetScheduledAction struct {
	// The date and time that the action is scheduled to end, in UTC.
	EndTime *string `pulumi:"endTime"`
	// The new minimum and maximum capacity. You can set both values or just one. At the scheduled time, if the current capacity is below the minimum capacity, Application Auto Scaling scales out to the minimum capacity. If the current capacity is above the maximum capacity, Application Auto Scaling scales in to the maximum capacity.
	ScalableTargetAction *ScalableTargetAction `pulumi:"scalableTargetAction"`
	// The schedule for this action. The following formats are supported:
	//   +  At expressions - "“at(yyyy-mm-ddThh:mm:ss)“"
	//   +  Rate expressions - "“rate(value unit)“"
	//   +  Cron expressions - "“cron(fields)“"
	//
	//  At expressions are useful for one-time schedules. Cron expressions are useful for scheduled actions that run periodically at a specified date and time, and rate expressions are useful for scheduled actions that run at a regular interval.
	//  At and cron expressions use Universal Coordinated Time (UTC) by default.
	//  The cron format consists of six fields separated by white spaces: [Minutes] [Hours] [Day_of_Month] [Month] [Day_of_Week] [Year].
	//  For rate expressions, *value* is a positive integer and *unit* is “minute“ | “minutes“ | “hour“ | “hours“ | “day“ | “days“.
	Schedule string `pulumi:"schedule"`
	// The name of the scheduled action. This name must be unique among all other scheduled actions on the specified scalable target.
	ScheduledActionName string `pulumi:"scheduledActionName"`
	// The date and time that the action is scheduled to begin, in UTC.
	StartTime *string `pulumi:"startTime"`
	// The time zone used when referring to the date and time of a scheduled action, when the scheduled action uses an at or cron expression.
	Timezone *string `pulumi:"timezone"`
}

“ScheduledAction“ is a property of the [AWS::ApplicationAutoScaling::ScalableTarget](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-applicationautoscaling-scalabletarget.html) resource that specifies a scheduled action for a scalable target.

For more information, see [Scheduled scaling](https://docs.aws.amazon.com/autoscaling/application/userguide/application-auto-scaling-scheduled-scaling.html) in the *Application Auto Scaling User Guide*.

type ScalableTargetScheduledActionArgs

type ScalableTargetScheduledActionArgs struct {
	// The date and time that the action is scheduled to end, in UTC.
	EndTime pulumi.StringPtrInput `pulumi:"endTime"`
	// The new minimum and maximum capacity. You can set both values or just one. At the scheduled time, if the current capacity is below the minimum capacity, Application Auto Scaling scales out to the minimum capacity. If the current capacity is above the maximum capacity, Application Auto Scaling scales in to the maximum capacity.
	ScalableTargetAction ScalableTargetActionPtrInput `pulumi:"scalableTargetAction"`
	// The schedule for this action. The following formats are supported:
	//   +  At expressions - "“at(yyyy-mm-ddThh:mm:ss)“"
	//   +  Rate expressions - "“rate(value unit)“"
	//   +  Cron expressions - "“cron(fields)“"
	//
	//  At expressions are useful for one-time schedules. Cron expressions are useful for scheduled actions that run periodically at a specified date and time, and rate expressions are useful for scheduled actions that run at a regular interval.
	//  At and cron expressions use Universal Coordinated Time (UTC) by default.
	//  The cron format consists of six fields separated by white spaces: [Minutes] [Hours] [Day_of_Month] [Month] [Day_of_Week] [Year].
	//  For rate expressions, *value* is a positive integer and *unit* is “minute“ | “minutes“ | “hour“ | “hours“ | “day“ | “days“.
	Schedule pulumi.StringInput `pulumi:"schedule"`
	// The name of the scheduled action. This name must be unique among all other scheduled actions on the specified scalable target.
	ScheduledActionName pulumi.StringInput `pulumi:"scheduledActionName"`
	// The date and time that the action is scheduled to begin, in UTC.
	StartTime pulumi.StringPtrInput `pulumi:"startTime"`
	// The time zone used when referring to the date and time of a scheduled action, when the scheduled action uses an at or cron expression.
	Timezone pulumi.StringPtrInput `pulumi:"timezone"`
}

“ScheduledAction“ is a property of the [AWS::ApplicationAutoScaling::ScalableTarget](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-applicationautoscaling-scalabletarget.html) resource that specifies a scheduled action for a scalable target.

For more information, see [Scheduled scaling](https://docs.aws.amazon.com/autoscaling/application/userguide/application-auto-scaling-scheduled-scaling.html) in the *Application Auto Scaling User Guide*.

func (ScalableTargetScheduledActionArgs) ElementType

func (ScalableTargetScheduledActionArgs) ToScalableTargetScheduledActionOutput

func (i ScalableTargetScheduledActionArgs) ToScalableTargetScheduledActionOutput() ScalableTargetScheduledActionOutput

func (ScalableTargetScheduledActionArgs) ToScalableTargetScheduledActionOutputWithContext

func (i ScalableTargetScheduledActionArgs) ToScalableTargetScheduledActionOutputWithContext(ctx context.Context) ScalableTargetScheduledActionOutput

type ScalableTargetScheduledActionArray

type ScalableTargetScheduledActionArray []ScalableTargetScheduledActionInput

func (ScalableTargetScheduledActionArray) ElementType

func (ScalableTargetScheduledActionArray) ToScalableTargetScheduledActionArrayOutput

func (i ScalableTargetScheduledActionArray) ToScalableTargetScheduledActionArrayOutput() ScalableTargetScheduledActionArrayOutput

func (ScalableTargetScheduledActionArray) ToScalableTargetScheduledActionArrayOutputWithContext

func (i ScalableTargetScheduledActionArray) ToScalableTargetScheduledActionArrayOutputWithContext(ctx context.Context) ScalableTargetScheduledActionArrayOutput

type ScalableTargetScheduledActionArrayInput

type ScalableTargetScheduledActionArrayInput interface {
	pulumi.Input

	ToScalableTargetScheduledActionArrayOutput() ScalableTargetScheduledActionArrayOutput
	ToScalableTargetScheduledActionArrayOutputWithContext(context.Context) ScalableTargetScheduledActionArrayOutput
}

ScalableTargetScheduledActionArrayInput is an input type that accepts ScalableTargetScheduledActionArray and ScalableTargetScheduledActionArrayOutput values. You can construct a concrete instance of `ScalableTargetScheduledActionArrayInput` via:

ScalableTargetScheduledActionArray{ ScalableTargetScheduledActionArgs{...} }

type ScalableTargetScheduledActionArrayOutput

type ScalableTargetScheduledActionArrayOutput struct{ *pulumi.OutputState }

func (ScalableTargetScheduledActionArrayOutput) ElementType

func (ScalableTargetScheduledActionArrayOutput) Index

func (ScalableTargetScheduledActionArrayOutput) ToScalableTargetScheduledActionArrayOutput

func (o ScalableTargetScheduledActionArrayOutput) ToScalableTargetScheduledActionArrayOutput() ScalableTargetScheduledActionArrayOutput

func (ScalableTargetScheduledActionArrayOutput) ToScalableTargetScheduledActionArrayOutputWithContext

func (o ScalableTargetScheduledActionArrayOutput) ToScalableTargetScheduledActionArrayOutputWithContext(ctx context.Context) ScalableTargetScheduledActionArrayOutput

type ScalableTargetScheduledActionInput

type ScalableTargetScheduledActionInput interface {
	pulumi.Input

	ToScalableTargetScheduledActionOutput() ScalableTargetScheduledActionOutput
	ToScalableTargetScheduledActionOutputWithContext(context.Context) ScalableTargetScheduledActionOutput
}

ScalableTargetScheduledActionInput is an input type that accepts ScalableTargetScheduledActionArgs and ScalableTargetScheduledActionOutput values. You can construct a concrete instance of `ScalableTargetScheduledActionInput` via:

ScalableTargetScheduledActionArgs{...}

type ScalableTargetScheduledActionOutput

type ScalableTargetScheduledActionOutput struct{ *pulumi.OutputState }

“ScheduledAction“ is a property of the [AWS::ApplicationAutoScaling::ScalableTarget](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-applicationautoscaling-scalabletarget.html) resource that specifies a scheduled action for a scalable target.

For more information, see [Scheduled scaling](https://docs.aws.amazon.com/autoscaling/application/userguide/application-auto-scaling-scheduled-scaling.html) in the *Application Auto Scaling User Guide*.

func (ScalableTargetScheduledActionOutput) ElementType

func (ScalableTargetScheduledActionOutput) EndTime

The date and time that the action is scheduled to end, in UTC.

func (ScalableTargetScheduledActionOutput) ScalableTargetAction

The new minimum and maximum capacity. You can set both values or just one. At the scheduled time, if the current capacity is below the minimum capacity, Application Auto Scaling scales out to the minimum capacity. If the current capacity is above the maximum capacity, Application Auto Scaling scales in to the maximum capacity.

func (ScalableTargetScheduledActionOutput) Schedule

The schedule for this action. The following formats are supported:

  • At expressions - "“at(yyyy-mm-ddThh:mm:ss)“"

  • Rate expressions - "“rate(value unit)“"

  • Cron expressions - "“cron(fields)“"

    At expressions are useful for one-time schedules. Cron expressions are useful for scheduled actions that run periodically at a specified date and time, and rate expressions are useful for scheduled actions that run at a regular interval. At and cron expressions use Universal Coordinated Time (UTC) by default. The cron format consists of six fields separated by white spaces: [Minutes] [Hours] [Day_of_Month] [Month] [Day_of_Week] [Year]. For rate expressions, *value* is a positive integer and *unit* is “minute“ | “minutes“ | “hour“ | “hours“ | “day“ | “days“.

func (ScalableTargetScheduledActionOutput) ScheduledActionName

The name of the scheduled action. This name must be unique among all other scheduled actions on the specified scalable target.

func (ScalableTargetScheduledActionOutput) StartTime

The date and time that the action is scheduled to begin, in UTC.

func (ScalableTargetScheduledActionOutput) Timezone

The time zone used when referring to the date and time of a scheduled action, when the scheduled action uses an at or cron expression.

func (ScalableTargetScheduledActionOutput) ToScalableTargetScheduledActionOutput

func (o ScalableTargetScheduledActionOutput) ToScalableTargetScheduledActionOutput() ScalableTargetScheduledActionOutput

func (ScalableTargetScheduledActionOutput) ToScalableTargetScheduledActionOutputWithContext

func (o ScalableTargetScheduledActionOutput) ToScalableTargetScheduledActionOutputWithContext(ctx context.Context) ScalableTargetScheduledActionOutput

type ScalableTargetState

type ScalableTargetState struct {
}

func (ScalableTargetState) ElementType

func (ScalableTargetState) ElementType() reflect.Type

type ScalableTargetSuspendedState

type ScalableTargetSuspendedState struct {
	// Whether scale in by a target tracking scaling policy or a step scaling policy is suspended. Set the value to “true“ if you don't want Application Auto Scaling to remove capacity when a scaling policy is triggered. The default is “false“.
	DynamicScalingInSuspended *bool `pulumi:"dynamicScalingInSuspended"`
	// Whether scale out by a target tracking scaling policy or a step scaling policy is suspended. Set the value to “true“ if you don't want Application Auto Scaling to add capacity when a scaling policy is triggered. The default is “false“.
	DynamicScalingOutSuspended *bool `pulumi:"dynamicScalingOutSuspended"`
	// Whether scheduled scaling is suspended. Set the value to “true“ if you don't want Application Auto Scaling to add or remove capacity by initiating scheduled actions. The default is “false“.
	ScheduledScalingSuspended *bool `pulumi:"scheduledScalingSuspended"`
}

“SuspendedState“ is a property of the [AWS::ApplicationAutoScaling::ScalableTarget](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-applicationautoscaling-scalabletarget.html) resource that specifies whether the scaling activities for a scalable target are in a suspended state.

For more information, see [Suspending and resuming scaling](https://docs.aws.amazon.com/autoscaling/application/userguide/application-auto-scaling-suspend-resume-scaling.html) in the *Application Auto Scaling User Guide*.

type ScalableTargetSuspendedStateArgs

type ScalableTargetSuspendedStateArgs struct {
	// Whether scale in by a target tracking scaling policy or a step scaling policy is suspended. Set the value to “true“ if you don't want Application Auto Scaling to remove capacity when a scaling policy is triggered. The default is “false“.
	DynamicScalingInSuspended pulumi.BoolPtrInput `pulumi:"dynamicScalingInSuspended"`
	// Whether scale out by a target tracking scaling policy or a step scaling policy is suspended. Set the value to “true“ if you don't want Application Auto Scaling to add capacity when a scaling policy is triggered. The default is “false“.
	DynamicScalingOutSuspended pulumi.BoolPtrInput `pulumi:"dynamicScalingOutSuspended"`
	// Whether scheduled scaling is suspended. Set the value to “true“ if you don't want Application Auto Scaling to add or remove capacity by initiating scheduled actions. The default is “false“.
	ScheduledScalingSuspended pulumi.BoolPtrInput `pulumi:"scheduledScalingSuspended"`
}

“SuspendedState“ is a property of the [AWS::ApplicationAutoScaling::ScalableTarget](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-applicationautoscaling-scalabletarget.html) resource that specifies whether the scaling activities for a scalable target are in a suspended state.

For more information, see [Suspending and resuming scaling](https://docs.aws.amazon.com/autoscaling/application/userguide/application-auto-scaling-suspend-resume-scaling.html) in the *Application Auto Scaling User Guide*.

func (ScalableTargetSuspendedStateArgs) ElementType

func (ScalableTargetSuspendedStateArgs) ToScalableTargetSuspendedStateOutput

func (i ScalableTargetSuspendedStateArgs) ToScalableTargetSuspendedStateOutput() ScalableTargetSuspendedStateOutput

func (ScalableTargetSuspendedStateArgs) ToScalableTargetSuspendedStateOutputWithContext

func (i ScalableTargetSuspendedStateArgs) ToScalableTargetSuspendedStateOutputWithContext(ctx context.Context) ScalableTargetSuspendedStateOutput

func (ScalableTargetSuspendedStateArgs) ToScalableTargetSuspendedStatePtrOutput

func (i ScalableTargetSuspendedStateArgs) ToScalableTargetSuspendedStatePtrOutput() ScalableTargetSuspendedStatePtrOutput

func (ScalableTargetSuspendedStateArgs) ToScalableTargetSuspendedStatePtrOutputWithContext

func (i ScalableTargetSuspendedStateArgs) ToScalableTargetSuspendedStatePtrOutputWithContext(ctx context.Context) ScalableTargetSuspendedStatePtrOutput

type ScalableTargetSuspendedStateInput

type ScalableTargetSuspendedStateInput interface {
	pulumi.Input

	ToScalableTargetSuspendedStateOutput() ScalableTargetSuspendedStateOutput
	ToScalableTargetSuspendedStateOutputWithContext(context.Context) ScalableTargetSuspendedStateOutput
}

ScalableTargetSuspendedStateInput is an input type that accepts ScalableTargetSuspendedStateArgs and ScalableTargetSuspendedStateOutput values. You can construct a concrete instance of `ScalableTargetSuspendedStateInput` via:

ScalableTargetSuspendedStateArgs{...}

type ScalableTargetSuspendedStateOutput

type ScalableTargetSuspendedStateOutput struct{ *pulumi.OutputState }

“SuspendedState“ is a property of the [AWS::ApplicationAutoScaling::ScalableTarget](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-applicationautoscaling-scalabletarget.html) resource that specifies whether the scaling activities for a scalable target are in a suspended state.

For more information, see [Suspending and resuming scaling](https://docs.aws.amazon.com/autoscaling/application/userguide/application-auto-scaling-suspend-resume-scaling.html) in the *Application Auto Scaling User Guide*.

func (ScalableTargetSuspendedStateOutput) DynamicScalingInSuspended

func (o ScalableTargetSuspendedStateOutput) DynamicScalingInSuspended() pulumi.BoolPtrOutput

Whether scale in by a target tracking scaling policy or a step scaling policy is suspended. Set the value to “true“ if you don't want Application Auto Scaling to remove capacity when a scaling policy is triggered. The default is “false“.

func (ScalableTargetSuspendedStateOutput) DynamicScalingOutSuspended

func (o ScalableTargetSuspendedStateOutput) DynamicScalingOutSuspended() pulumi.BoolPtrOutput

Whether scale out by a target tracking scaling policy or a step scaling policy is suspended. Set the value to “true“ if you don't want Application Auto Scaling to add capacity when a scaling policy is triggered. The default is “false“.

func (ScalableTargetSuspendedStateOutput) ElementType

func (ScalableTargetSuspendedStateOutput) ScheduledScalingSuspended

func (o ScalableTargetSuspendedStateOutput) ScheduledScalingSuspended() pulumi.BoolPtrOutput

Whether scheduled scaling is suspended. Set the value to “true“ if you don't want Application Auto Scaling to add or remove capacity by initiating scheduled actions. The default is “false“.

func (ScalableTargetSuspendedStateOutput) ToScalableTargetSuspendedStateOutput

func (o ScalableTargetSuspendedStateOutput) ToScalableTargetSuspendedStateOutput() ScalableTargetSuspendedStateOutput

func (ScalableTargetSuspendedStateOutput) ToScalableTargetSuspendedStateOutputWithContext

func (o ScalableTargetSuspendedStateOutput) ToScalableTargetSuspendedStateOutputWithContext(ctx context.Context) ScalableTargetSuspendedStateOutput

func (ScalableTargetSuspendedStateOutput) ToScalableTargetSuspendedStatePtrOutput

func (o ScalableTargetSuspendedStateOutput) ToScalableTargetSuspendedStatePtrOutput() ScalableTargetSuspendedStatePtrOutput

func (ScalableTargetSuspendedStateOutput) ToScalableTargetSuspendedStatePtrOutputWithContext

func (o ScalableTargetSuspendedStateOutput) ToScalableTargetSuspendedStatePtrOutputWithContext(ctx context.Context) ScalableTargetSuspendedStatePtrOutput

type ScalableTargetSuspendedStatePtrInput

type ScalableTargetSuspendedStatePtrInput interface {
	pulumi.Input

	ToScalableTargetSuspendedStatePtrOutput() ScalableTargetSuspendedStatePtrOutput
	ToScalableTargetSuspendedStatePtrOutputWithContext(context.Context) ScalableTargetSuspendedStatePtrOutput
}

ScalableTargetSuspendedStatePtrInput is an input type that accepts ScalableTargetSuspendedStateArgs, ScalableTargetSuspendedStatePtr and ScalableTargetSuspendedStatePtrOutput values. You can construct a concrete instance of `ScalableTargetSuspendedStatePtrInput` via:

        ScalableTargetSuspendedStateArgs{...}

or:

        nil

type ScalableTargetSuspendedStatePtrOutput

type ScalableTargetSuspendedStatePtrOutput struct{ *pulumi.OutputState }

func (ScalableTargetSuspendedStatePtrOutput) DynamicScalingInSuspended

func (o ScalableTargetSuspendedStatePtrOutput) DynamicScalingInSuspended() pulumi.BoolPtrOutput

Whether scale in by a target tracking scaling policy or a step scaling policy is suspended. Set the value to “true“ if you don't want Application Auto Scaling to remove capacity when a scaling policy is triggered. The default is “false“.

func (ScalableTargetSuspendedStatePtrOutput) DynamicScalingOutSuspended

func (o ScalableTargetSuspendedStatePtrOutput) DynamicScalingOutSuspended() pulumi.BoolPtrOutput

Whether scale out by a target tracking scaling policy or a step scaling policy is suspended. Set the value to “true“ if you don't want Application Auto Scaling to add capacity when a scaling policy is triggered. The default is “false“.

func (ScalableTargetSuspendedStatePtrOutput) Elem

func (ScalableTargetSuspendedStatePtrOutput) ElementType

func (ScalableTargetSuspendedStatePtrOutput) ScheduledScalingSuspended

func (o ScalableTargetSuspendedStatePtrOutput) ScheduledScalingSuspended() pulumi.BoolPtrOutput

Whether scheduled scaling is suspended. Set the value to “true“ if you don't want Application Auto Scaling to add or remove capacity by initiating scheduled actions. The default is “false“.

func (ScalableTargetSuspendedStatePtrOutput) ToScalableTargetSuspendedStatePtrOutput

func (o ScalableTargetSuspendedStatePtrOutput) ToScalableTargetSuspendedStatePtrOutput() ScalableTargetSuspendedStatePtrOutput

func (ScalableTargetSuspendedStatePtrOutput) ToScalableTargetSuspendedStatePtrOutputWithContext

func (o ScalableTargetSuspendedStatePtrOutput) ToScalableTargetSuspendedStatePtrOutputWithContext(ctx context.Context) ScalableTargetSuspendedStatePtrOutput

type ScalingPolicy

type ScalingPolicy struct {
	pulumi.CustomResourceState

	// Returns the ARN of a scaling policy.
	Arn pulumi.StringOutput `pulumi:"arn"`
	// The name of the scaling policy.
	//  Updates to the name of a target tracking scaling policy are not supported, unless you also update the metric used for scaling. To change only a target tracking scaling policy's name, first delete the policy by removing the existing “AWS::ApplicationAutoScaling::ScalingPolicy“ resource from the template and updating the stack. Then, recreate the resource with the same settings and a different name.
	PolicyName pulumi.StringOutput `pulumi:"policyName"`
	// The scaling policy type.
	//  The following policy types are supported:
	//   “TargetTrackingScaling“—Not supported for Amazon EMR
	//   “StepScaling“—Not supported for DynamoDB, Amazon Comprehend, Lambda, Amazon Keyspaces, Amazon MSK, Amazon ElastiCache, or Neptune.
	PolicyType pulumi.StringOutput `pulumi:"policyType"`
	// The predictive scaling policy configuration.
	PredictiveScalingPolicyConfiguration ScalingPolicyPredictiveScalingPolicyConfigurationPtrOutput `pulumi:"predictiveScalingPolicyConfiguration"`
	// The identifier of the resource associated with the scaling policy. This string consists of the resource type and unique identifier.
	//   +  ECS service - The resource type is “service“ and the unique identifier is the cluster name and service name. Example: “service/my-cluster/my-service“.
	//   +  Spot Fleet - The resource type is “spot-fleet-request“ and the unique identifier is the Spot Fleet request ID. Example: “spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE“.
	//   +  EMR cluster - The resource type is “instancegroup“ and the unique identifier is the cluster ID and instance group ID. Example: “instancegroup/j-2EEZNYKUA1NTV/ig-1791Y4E1L8YI0“.
	//   +  AppStream 2.0 fleet - The resource type is “fleet“ and the unique identifier is the fleet name. Example: “fleet/sample-fleet“.
	//   +  DynamoDB table - The resource type is “table“ and the unique identifier is the table name. Example: “table/my-table“.
	//   +  DynamoDB global secondary index - The resource type is “index“ and the unique identifier is the index name. Example: “table/my-table/index/my-table-index“.
	//   +  Aurora DB cluster - The resource type is “cluster“ and the unique identifier is the cluster name. Example: “cluster:my-db-cluster“.
	//   +  SageMaker endpoint variant - The resource type is “variant“ and the unique identifier is the resource ID. Example: “endpoint/my-end-point/variant/KMeansClustering“.
	//   +  Custom resources are not supported with a resource type. This parameter must specify the “OutputValue“ from the CloudFormation template stack used to access the resources. The unique identifier is defined by the service provider. More information is available in our [GitHub repository](https://docs.aws.amazon.com/https://github.com/aws/aws-auto-scaling-custom-resource).
	//   +  Amazon Comprehend document classification endpoint - The resource type and unique identifier are specified using the endpoint ARN. Example: “arn:aws:comprehend:us-west-2:123456789012:document-classifier-endpoint/EXAMPLE“.
	//   +  Amazon Comprehend entity recognizer endpoint - The resource type and unique identifier are specified using the endpoint ARN. Example: “arn:aws:comprehend:us-west-2:123456789012:entity-recognizer-endpoint/EXAMPLE“.
	//   +  Lambda provisioned concurrency - The resource type is “function“ and the unique identifier is the function name with a function version or alias name suffix that is not “$LATEST“. Example: “function:my-function:prod“ or “function:my-function:1“.
	//   +  Amazon Keyspaces table - The resource type is “table“ and the unique identifier is the table name. Example: “keyspace/mykeyspace/table/mytable“.
	//   +  Amazon MSK cluster - The resource type and unique identifier are specified using the cluster ARN. Example: “arn:aws:kafka:us-east-1:123456789012:cluster/demo-cluster-1/6357e0b2-0e6a-4b86-a0b4-70df934c2e31-5“.
	//   +  Amazon ElastiCache replication group - The resource type is “replication-group“ and the unique identifier is the replication group name. Example: “replication-group/mycluster“.
	//   +  Neptune cluster - The resource type is “cluster“ and the unique identifier is the cluster name. Example: “cluster:mycluster“.
	//   +  SageMaker serverless endpoint - The resource type is “variant“ and the unique identifier is the resource ID. Example: “endpoint/my-end-point/variant/KMeansClustering“.
	//   +  SageMaker inference component - The resource type is “inference-component“ and the unique identifier is the resource ID. Example: “inference-component/my-inference-component“.
	//   +  Pool of WorkSpaces - The resource type is “workspacespool“ and the unique identifier is the pool ID. Example: “workspacespool/wspool-123456“.
	ResourceId pulumi.StringPtrOutput `pulumi:"resourceId"`
	// The scalable dimension. This string consists of the service namespace, resource type, and scaling property.
	//   +   “ecs:service:DesiredCount“ - The task count of an ECS service.
	//   +   “elasticmapreduce:instancegroup:InstanceCount“ - The instance count of an EMR Instance Group.
	//   +   “ec2:spot-fleet-request:TargetCapacity“ - The target capacity of a Spot Fleet.
	//   +   “appstream:fleet:DesiredCapacity“ - The capacity of an AppStream 2.0 fleet.
	//   +   “dynamodb:table:ReadCapacityUnits“ - The provisioned read capacity for a DynamoDB table.
	//   +   “dynamodb:table:WriteCapacityUnits“ - The provisioned write capacity for a DynamoDB table.
	//   +   “dynamodb:index:ReadCapacityUnits“ - The provisioned read capacity for a DynamoDB global secondary index.
	//   +   “dynamodb:index:WriteCapacityUnits“ - The provisioned write capacity for a DynamoDB global secondary index.
	//   +   “rds:cluster:ReadReplicaCount“ - The count of Aurora Replicas in an Aurora DB cluster. Available for Aurora MySQL-compatible edition and Aurora PostgreSQL-compatible edition.
	//   +   “sagemaker:variant:DesiredInstanceCount“ - The number of EC2 instances for a SageMaker model endpoint variant.
	//   +   “custom-resource:ResourceType:Property“ - The scalable dimension for a custom resource provided by your own application or service.
	//   +   “comprehend:document-classifier-endpoint:DesiredInferenceUnits“ - The number of inference units for an Amazon Comprehend document classification endpoint.
	//   +   “comprehend:entity-recognizer-endpoint:DesiredInferenceUnits“ - The number of inference units for an Amazon Comprehend entity recognizer endpoint.
	//   +   “lambda:function:ProvisionedConcurrency“ - The provisioned concurrency for a Lambda function.
	//   +   “cassandra:table:ReadCapacityUnits“ - The provisioned read capacity for an Amazon Keyspaces table.
	//   +   “cassandra:table:WriteCapacityUnits“ - The provisioned write capacity for an Amazon Keyspaces table.
	//   +   “kafka:broker-storage:VolumeSize“ - The provisioned volume size (in GiB) for brokers in an Amazon MSK cluster.
	//   +   “elasticache:replication-group:NodeGroups“ - The number of node groups for an Amazon ElastiCache replication group.
	//   +   “elasticache:replication-group:Replicas“ - The number of replicas per node group for an Amazon ElastiCache replication group.
	//   +   “neptune:cluster:ReadReplicaCount“ - The count of read replicas in an Amazon Neptune DB cluster.
	//   +   “sagemaker:variant:DesiredProvisionedConcurrency“ - The provisioned concurrency for a SageMaker serverless endpoint.
	//   +   “sagemaker:inference-component:DesiredCopyCount“ - The number of copies across an endpoint for a SageMaker inference component.
	//   +   “workspaces:workspacespool:DesiredUserSessions“ - The number of user sessions for the WorkSpaces in the pool.
	ScalableDimension pulumi.StringPtrOutput `pulumi:"scalableDimension"`
	// The CloudFormation-generated ID of an Application Auto Scaling scalable target. For more information about the ID, see the Return Value section of the “AWS::ApplicationAutoScaling::ScalableTarget“ resource.
	//   You must specify either the “ScalingTargetId“ property, or the “ResourceId“, “ScalableDimension“, and “ServiceNamespace“ properties, but not both.
	ScalingTargetId pulumi.StringPtrOutput `pulumi:"scalingTargetId"`
	// The namespace of the AWS service that provides the resource, or a “custom-resource“.
	ServiceNamespace pulumi.StringPtrOutput `pulumi:"serviceNamespace"`
	// A step scaling policy.
	StepScalingPolicyConfiguration ScalingPolicyStepScalingPolicyConfigurationPtrOutput `pulumi:"stepScalingPolicyConfiguration"`
	// A target tracking scaling policy.
	TargetTrackingScalingPolicyConfiguration ScalingPolicyTargetTrackingScalingPolicyConfigurationPtrOutput `pulumi:"targetTrackingScalingPolicyConfiguration"`
}

The “AWS::ApplicationAutoScaling::ScalingPolicy“ resource defines a scaling policy that Application Auto Scaling uses to adjust the capacity of a scalable target.

For more information, see [Target tracking scaling policies](https://docs.aws.amazon.com/autoscaling/application/userguide/application-auto-scaling-target-tracking.html) and [Step scaling policies](https://docs.aws.amazon.com/autoscaling/application/userguide/application-auto-scaling-step-scaling-policies.html) in the *Application Auto Scaling User Guide*.

func GetScalingPolicy

func GetScalingPolicy(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ScalingPolicyState, opts ...pulumi.ResourceOption) (*ScalingPolicy, error)

GetScalingPolicy gets an existing ScalingPolicy resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewScalingPolicy

func NewScalingPolicy(ctx *pulumi.Context,
	name string, args *ScalingPolicyArgs, opts ...pulumi.ResourceOption) (*ScalingPolicy, error)

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

func (*ScalingPolicy) ElementType

func (*ScalingPolicy) ElementType() reflect.Type

func (*ScalingPolicy) ToScalingPolicyOutput

func (i *ScalingPolicy) ToScalingPolicyOutput() ScalingPolicyOutput

func (*ScalingPolicy) ToScalingPolicyOutputWithContext

func (i *ScalingPolicy) ToScalingPolicyOutputWithContext(ctx context.Context) ScalingPolicyOutput

type ScalingPolicyArgs

type ScalingPolicyArgs struct {
	// The name of the scaling policy.
	//  Updates to the name of a target tracking scaling policy are not supported, unless you also update the metric used for scaling. To change only a target tracking scaling policy's name, first delete the policy by removing the existing “AWS::ApplicationAutoScaling::ScalingPolicy“ resource from the template and updating the stack. Then, recreate the resource with the same settings and a different name.
	PolicyName pulumi.StringPtrInput
	// The scaling policy type.
	//  The following policy types are supported:
	//   “TargetTrackingScaling“—Not supported for Amazon EMR
	//   “StepScaling“—Not supported for DynamoDB, Amazon Comprehend, Lambda, Amazon Keyspaces, Amazon MSK, Amazon ElastiCache, or Neptune.
	PolicyType pulumi.StringInput
	// The predictive scaling policy configuration.
	PredictiveScalingPolicyConfiguration ScalingPolicyPredictiveScalingPolicyConfigurationPtrInput
	// The identifier of the resource associated with the scaling policy. This string consists of the resource type and unique identifier.
	//   +  ECS service - The resource type is “service“ and the unique identifier is the cluster name and service name. Example: “service/my-cluster/my-service“.
	//   +  Spot Fleet - The resource type is “spot-fleet-request“ and the unique identifier is the Spot Fleet request ID. Example: “spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE“.
	//   +  EMR cluster - The resource type is “instancegroup“ and the unique identifier is the cluster ID and instance group ID. Example: “instancegroup/j-2EEZNYKUA1NTV/ig-1791Y4E1L8YI0“.
	//   +  AppStream 2.0 fleet - The resource type is “fleet“ and the unique identifier is the fleet name. Example: “fleet/sample-fleet“.
	//   +  DynamoDB table - The resource type is “table“ and the unique identifier is the table name. Example: “table/my-table“.
	//   +  DynamoDB global secondary index - The resource type is “index“ and the unique identifier is the index name. Example: “table/my-table/index/my-table-index“.
	//   +  Aurora DB cluster - The resource type is “cluster“ and the unique identifier is the cluster name. Example: “cluster:my-db-cluster“.
	//   +  SageMaker endpoint variant - The resource type is “variant“ and the unique identifier is the resource ID. Example: “endpoint/my-end-point/variant/KMeansClustering“.
	//   +  Custom resources are not supported with a resource type. This parameter must specify the “OutputValue“ from the CloudFormation template stack used to access the resources. The unique identifier is defined by the service provider. More information is available in our [GitHub repository](https://docs.aws.amazon.com/https://github.com/aws/aws-auto-scaling-custom-resource).
	//   +  Amazon Comprehend document classification endpoint - The resource type and unique identifier are specified using the endpoint ARN. Example: “arn:aws:comprehend:us-west-2:123456789012:document-classifier-endpoint/EXAMPLE“.
	//   +  Amazon Comprehend entity recognizer endpoint - The resource type and unique identifier are specified using the endpoint ARN. Example: “arn:aws:comprehend:us-west-2:123456789012:entity-recognizer-endpoint/EXAMPLE“.
	//   +  Lambda provisioned concurrency - The resource type is “function“ and the unique identifier is the function name with a function version or alias name suffix that is not “$LATEST“. Example: “function:my-function:prod“ or “function:my-function:1“.
	//   +  Amazon Keyspaces table - The resource type is “table“ and the unique identifier is the table name. Example: “keyspace/mykeyspace/table/mytable“.
	//   +  Amazon MSK cluster - The resource type and unique identifier are specified using the cluster ARN. Example: “arn:aws:kafka:us-east-1:123456789012:cluster/demo-cluster-1/6357e0b2-0e6a-4b86-a0b4-70df934c2e31-5“.
	//   +  Amazon ElastiCache replication group - The resource type is “replication-group“ and the unique identifier is the replication group name. Example: “replication-group/mycluster“.
	//   +  Neptune cluster - The resource type is “cluster“ and the unique identifier is the cluster name. Example: “cluster:mycluster“.
	//   +  SageMaker serverless endpoint - The resource type is “variant“ and the unique identifier is the resource ID. Example: “endpoint/my-end-point/variant/KMeansClustering“.
	//   +  SageMaker inference component - The resource type is “inference-component“ and the unique identifier is the resource ID. Example: “inference-component/my-inference-component“.
	//   +  Pool of WorkSpaces - The resource type is “workspacespool“ and the unique identifier is the pool ID. Example: “workspacespool/wspool-123456“.
	ResourceId pulumi.StringPtrInput
	// The scalable dimension. This string consists of the service namespace, resource type, and scaling property.
	//   +   “ecs:service:DesiredCount“ - The task count of an ECS service.
	//   +   “elasticmapreduce:instancegroup:InstanceCount“ - The instance count of an EMR Instance Group.
	//   +   “ec2:spot-fleet-request:TargetCapacity“ - The target capacity of a Spot Fleet.
	//   +   “appstream:fleet:DesiredCapacity“ - The capacity of an AppStream 2.0 fleet.
	//   +   “dynamodb:table:ReadCapacityUnits“ - The provisioned read capacity for a DynamoDB table.
	//   +   “dynamodb:table:WriteCapacityUnits“ - The provisioned write capacity for a DynamoDB table.
	//   +   “dynamodb:index:ReadCapacityUnits“ - The provisioned read capacity for a DynamoDB global secondary index.
	//   +   “dynamodb:index:WriteCapacityUnits“ - The provisioned write capacity for a DynamoDB global secondary index.
	//   +   “rds:cluster:ReadReplicaCount“ - The count of Aurora Replicas in an Aurora DB cluster. Available for Aurora MySQL-compatible edition and Aurora PostgreSQL-compatible edition.
	//   +   “sagemaker:variant:DesiredInstanceCount“ - The number of EC2 instances for a SageMaker model endpoint variant.
	//   +   “custom-resource:ResourceType:Property“ - The scalable dimension for a custom resource provided by your own application or service.
	//   +   “comprehend:document-classifier-endpoint:DesiredInferenceUnits“ - The number of inference units for an Amazon Comprehend document classification endpoint.
	//   +   “comprehend:entity-recognizer-endpoint:DesiredInferenceUnits“ - The number of inference units for an Amazon Comprehend entity recognizer endpoint.
	//   +   “lambda:function:ProvisionedConcurrency“ - The provisioned concurrency for a Lambda function.
	//   +   “cassandra:table:ReadCapacityUnits“ - The provisioned read capacity for an Amazon Keyspaces table.
	//   +   “cassandra:table:WriteCapacityUnits“ - The provisioned write capacity for an Amazon Keyspaces table.
	//   +   “kafka:broker-storage:VolumeSize“ - The provisioned volume size (in GiB) for brokers in an Amazon MSK cluster.
	//   +   “elasticache:replication-group:NodeGroups“ - The number of node groups for an Amazon ElastiCache replication group.
	//   +   “elasticache:replication-group:Replicas“ - The number of replicas per node group for an Amazon ElastiCache replication group.
	//   +   “neptune:cluster:ReadReplicaCount“ - The count of read replicas in an Amazon Neptune DB cluster.
	//   +   “sagemaker:variant:DesiredProvisionedConcurrency“ - The provisioned concurrency for a SageMaker serverless endpoint.
	//   +   “sagemaker:inference-component:DesiredCopyCount“ - The number of copies across an endpoint for a SageMaker inference component.
	//   +   “workspaces:workspacespool:DesiredUserSessions“ - The number of user sessions for the WorkSpaces in the pool.
	ScalableDimension pulumi.StringPtrInput
	// The CloudFormation-generated ID of an Application Auto Scaling scalable target. For more information about the ID, see the Return Value section of the “AWS::ApplicationAutoScaling::ScalableTarget“ resource.
	//   You must specify either the “ScalingTargetId“ property, or the “ResourceId“, “ScalableDimension“, and “ServiceNamespace“ properties, but not both.
	ScalingTargetId pulumi.StringPtrInput
	// The namespace of the AWS service that provides the resource, or a “custom-resource“.
	ServiceNamespace pulumi.StringPtrInput
	// A step scaling policy.
	StepScalingPolicyConfiguration ScalingPolicyStepScalingPolicyConfigurationPtrInput
	// A target tracking scaling policy.
	TargetTrackingScalingPolicyConfiguration ScalingPolicyTargetTrackingScalingPolicyConfigurationPtrInput
}

The set of arguments for constructing a ScalingPolicy resource.

func (ScalingPolicyArgs) ElementType

func (ScalingPolicyArgs) ElementType() reflect.Type

type ScalingPolicyCustomizedMetricSpecification

type ScalingPolicyCustomizedMetricSpecification struct {
	// The dimensions of the metric.
	//  Conditional: If you published your metric with dimensions, you must specify the same dimensions in your scaling policy.
	Dimensions []ScalingPolicyMetricDimension `pulumi:"dimensions"`
	// The name of the metric. To get the exact metric name, namespace, and dimensions, inspect the [Metric](https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_Metric.html) object that's returned by a call to [ListMetrics](https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_ListMetrics.html).
	MetricName *string `pulumi:"metricName"`
	// The metrics to include in the target tracking scaling policy, as a metric data query. This can include both raw metric and metric math expressions.
	Metrics []ScalingPolicyTargetTrackingMetricDataQuery `pulumi:"metrics"`
	// The namespace of the metric.
	Namespace *string `pulumi:"namespace"`
	// The statistic of the metric.
	Statistic *string `pulumi:"statistic"`
	// The unit of the metric. For a complete list of the units that CloudWatch supports, see the [MetricDatum](https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_MetricDatum.html) data type in the *Amazon CloudWatch API Reference*.
	Unit *string `pulumi:"unit"`
}

Contains customized metric specification information for a target tracking scaling policy for Application Auto Scaling.

For information about the available metrics for a service, see [services that publish CloudWatch metrics](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/aws-services-cloudwatch-metrics.html) in the *Amazon CloudWatch User Guide*.
To create your customized metric specification:
 +  Add values for each required parameter from CloudWatch. You can use an existing metric, or a new metric that you create. To use your own metric, you must first publish the metric to CloudWatch. For more information, see [Publish custom metrics](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/publishingMetrics.html) in the *Amazon CloudWatch User Guide*.
 +  Choose a metric that changes proportionally with capacity. The value of the metric should increase or decrease in inverse proportion to the number of capacity units. That is, the value of the metric should decrease when capacity increases, and increase when capacity decreases.

For an example of how creating new metrics can be useful, see [Scaling based on Amazon SQS](https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-using-sqs-queue.html) in the *Amazon EC2 Auto Scaling User Guide*. This topic mentions Auto Scaling groups, but the same scenario for Amazon SQS can apply to the target tracking scaling policies that you create for a Spot Fleet by using Application Auto Scaling.
For more information about the CloudWatch terminology below, see [Amazon CloudWatch concepts](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/cloudwatch_concepts.html).
 ``CustomizedMetricSpecification`` is a property of the [AWS::ApplicationAutoScaling::ScalingPolicy TargetTrackingScalingPolicyConfiguration](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationautoscaling-scalingpolicy-targettrackingscalingpolicyconfiguration.html) property type.

type ScalingPolicyCustomizedMetricSpecificationArgs

type ScalingPolicyCustomizedMetricSpecificationArgs struct {
	// The dimensions of the metric.
	//  Conditional: If you published your metric with dimensions, you must specify the same dimensions in your scaling policy.
	Dimensions ScalingPolicyMetricDimensionArrayInput `pulumi:"dimensions"`
	// The name of the metric. To get the exact metric name, namespace, and dimensions, inspect the [Metric](https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_Metric.html) object that's returned by a call to [ListMetrics](https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_ListMetrics.html).
	MetricName pulumi.StringPtrInput `pulumi:"metricName"`
	// The metrics to include in the target tracking scaling policy, as a metric data query. This can include both raw metric and metric math expressions.
	Metrics ScalingPolicyTargetTrackingMetricDataQueryArrayInput `pulumi:"metrics"`
	// The namespace of the metric.
	Namespace pulumi.StringPtrInput `pulumi:"namespace"`
	// The statistic of the metric.
	Statistic pulumi.StringPtrInput `pulumi:"statistic"`
	// The unit of the metric. For a complete list of the units that CloudWatch supports, see the [MetricDatum](https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_MetricDatum.html) data type in the *Amazon CloudWatch API Reference*.
	Unit pulumi.StringPtrInput `pulumi:"unit"`
}

Contains customized metric specification information for a target tracking scaling policy for Application Auto Scaling.

For information about the available metrics for a service, see [services that publish CloudWatch metrics](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/aws-services-cloudwatch-metrics.html) in the *Amazon CloudWatch User Guide*.
To create your customized metric specification:
 +  Add values for each required parameter from CloudWatch. You can use an existing metric, or a new metric that you create. To use your own metric, you must first publish the metric to CloudWatch. For more information, see [Publish custom metrics](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/publishingMetrics.html) in the *Amazon CloudWatch User Guide*.
 +  Choose a metric that changes proportionally with capacity. The value of the metric should increase or decrease in inverse proportion to the number of capacity units. That is, the value of the metric should decrease when capacity increases, and increase when capacity decreases.

For an example of how creating new metrics can be useful, see [Scaling based on Amazon SQS](https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-using-sqs-queue.html) in the *Amazon EC2 Auto Scaling User Guide*. This topic mentions Auto Scaling groups, but the same scenario for Amazon SQS can apply to the target tracking scaling policies that you create for a Spot Fleet by using Application Auto Scaling.
For more information about the CloudWatch terminology below, see [Amazon CloudWatch concepts](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/cloudwatch_concepts.html).
 ``CustomizedMetricSpecification`` is a property of the [AWS::ApplicationAutoScaling::ScalingPolicy TargetTrackingScalingPolicyConfiguration](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationautoscaling-scalingpolicy-targettrackingscalingpolicyconfiguration.html) property type.

func (ScalingPolicyCustomizedMetricSpecificationArgs) ElementType

func (ScalingPolicyCustomizedMetricSpecificationArgs) ToScalingPolicyCustomizedMetricSpecificationOutput

func (i ScalingPolicyCustomizedMetricSpecificationArgs) ToScalingPolicyCustomizedMetricSpecificationOutput() ScalingPolicyCustomizedMetricSpecificationOutput

func (ScalingPolicyCustomizedMetricSpecificationArgs) ToScalingPolicyCustomizedMetricSpecificationOutputWithContext

func (i ScalingPolicyCustomizedMetricSpecificationArgs) ToScalingPolicyCustomizedMetricSpecificationOutputWithContext(ctx context.Context) ScalingPolicyCustomizedMetricSpecificationOutput

func (ScalingPolicyCustomizedMetricSpecificationArgs) ToScalingPolicyCustomizedMetricSpecificationPtrOutput

func (i ScalingPolicyCustomizedMetricSpecificationArgs) ToScalingPolicyCustomizedMetricSpecificationPtrOutput() ScalingPolicyCustomizedMetricSpecificationPtrOutput

func (ScalingPolicyCustomizedMetricSpecificationArgs) ToScalingPolicyCustomizedMetricSpecificationPtrOutputWithContext

func (i ScalingPolicyCustomizedMetricSpecificationArgs) ToScalingPolicyCustomizedMetricSpecificationPtrOutputWithContext(ctx context.Context) ScalingPolicyCustomizedMetricSpecificationPtrOutput

type ScalingPolicyCustomizedMetricSpecificationInput

type ScalingPolicyCustomizedMetricSpecificationInput interface {
	pulumi.Input

	ToScalingPolicyCustomizedMetricSpecificationOutput() ScalingPolicyCustomizedMetricSpecificationOutput
	ToScalingPolicyCustomizedMetricSpecificationOutputWithContext(context.Context) ScalingPolicyCustomizedMetricSpecificationOutput
}

ScalingPolicyCustomizedMetricSpecificationInput is an input type that accepts ScalingPolicyCustomizedMetricSpecificationArgs and ScalingPolicyCustomizedMetricSpecificationOutput values. You can construct a concrete instance of `ScalingPolicyCustomizedMetricSpecificationInput` via:

ScalingPolicyCustomizedMetricSpecificationArgs{...}

type ScalingPolicyCustomizedMetricSpecificationOutput

type ScalingPolicyCustomizedMetricSpecificationOutput struct{ *pulumi.OutputState }

Contains customized metric specification information for a target tracking scaling policy for Application Auto Scaling.

For information about the available metrics for a service, see [services that publish CloudWatch metrics](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/aws-services-cloudwatch-metrics.html) in the *Amazon CloudWatch User Guide*.
To create your customized metric specification:
 +  Add values for each required parameter from CloudWatch. You can use an existing metric, or a new metric that you create. To use your own metric, you must first publish the metric to CloudWatch. For more information, see [Publish custom metrics](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/publishingMetrics.html) in the *Amazon CloudWatch User Guide*.
 +  Choose a metric that changes proportionally with capacity. The value of the metric should increase or decrease in inverse proportion to the number of capacity units. That is, the value of the metric should decrease when capacity increases, and increase when capacity decreases.

For an example of how creating new metrics can be useful, see [Scaling based on Amazon SQS](https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-using-sqs-queue.html) in the *Amazon EC2 Auto Scaling User Guide*. This topic mentions Auto Scaling groups, but the same scenario for Amazon SQS can apply to the target tracking scaling policies that you create for a Spot Fleet by using Application Auto Scaling.
For more information about the CloudWatch terminology below, see [Amazon CloudWatch concepts](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/cloudwatch_concepts.html).
 ``CustomizedMetricSpecification`` is a property of the [AWS::ApplicationAutoScaling::ScalingPolicy TargetTrackingScalingPolicyConfiguration](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationautoscaling-scalingpolicy-targettrackingscalingpolicyconfiguration.html) property type.

func (ScalingPolicyCustomizedMetricSpecificationOutput) Dimensions

The dimensions of the metric.

Conditional: If you published your metric with dimensions, you must specify the same dimensions in your scaling policy.

func (ScalingPolicyCustomizedMetricSpecificationOutput) ElementType

func (ScalingPolicyCustomizedMetricSpecificationOutput) MetricName

The name of the metric. To get the exact metric name, namespace, and dimensions, inspect the [Metric](https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_Metric.html) object that's returned by a call to [ListMetrics](https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_ListMetrics.html).

func (ScalingPolicyCustomizedMetricSpecificationOutput) Metrics added in v0.85.0

The metrics to include in the target tracking scaling policy, as a metric data query. This can include both raw metric and metric math expressions.

func (ScalingPolicyCustomizedMetricSpecificationOutput) Namespace

The namespace of the metric.

func (ScalingPolicyCustomizedMetricSpecificationOutput) Statistic

The statistic of the metric.

func (ScalingPolicyCustomizedMetricSpecificationOutput) ToScalingPolicyCustomizedMetricSpecificationOutput

func (o ScalingPolicyCustomizedMetricSpecificationOutput) ToScalingPolicyCustomizedMetricSpecificationOutput() ScalingPolicyCustomizedMetricSpecificationOutput

func (ScalingPolicyCustomizedMetricSpecificationOutput) ToScalingPolicyCustomizedMetricSpecificationOutputWithContext

func (o ScalingPolicyCustomizedMetricSpecificationOutput) ToScalingPolicyCustomizedMetricSpecificationOutputWithContext(ctx context.Context) ScalingPolicyCustomizedMetricSpecificationOutput

func (ScalingPolicyCustomizedMetricSpecificationOutput) ToScalingPolicyCustomizedMetricSpecificationPtrOutput

func (o ScalingPolicyCustomizedMetricSpecificationOutput) ToScalingPolicyCustomizedMetricSpecificationPtrOutput() ScalingPolicyCustomizedMetricSpecificationPtrOutput

func (ScalingPolicyCustomizedMetricSpecificationOutput) ToScalingPolicyCustomizedMetricSpecificationPtrOutputWithContext

func (o ScalingPolicyCustomizedMetricSpecificationOutput) ToScalingPolicyCustomizedMetricSpecificationPtrOutputWithContext(ctx context.Context) ScalingPolicyCustomizedMetricSpecificationPtrOutput

func (ScalingPolicyCustomizedMetricSpecificationOutput) Unit

The unit of the metric. For a complete list of the units that CloudWatch supports, see the [MetricDatum](https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_MetricDatum.html) data type in the *Amazon CloudWatch API Reference*.

type ScalingPolicyCustomizedMetricSpecificationPtrInput

type ScalingPolicyCustomizedMetricSpecificationPtrInput interface {
	pulumi.Input

	ToScalingPolicyCustomizedMetricSpecificationPtrOutput() ScalingPolicyCustomizedMetricSpecificationPtrOutput
	ToScalingPolicyCustomizedMetricSpecificationPtrOutputWithContext(context.Context) ScalingPolicyCustomizedMetricSpecificationPtrOutput
}

ScalingPolicyCustomizedMetricSpecificationPtrInput is an input type that accepts ScalingPolicyCustomizedMetricSpecificationArgs, ScalingPolicyCustomizedMetricSpecificationPtr and ScalingPolicyCustomizedMetricSpecificationPtrOutput values. You can construct a concrete instance of `ScalingPolicyCustomizedMetricSpecificationPtrInput` via:

        ScalingPolicyCustomizedMetricSpecificationArgs{...}

or:

        nil

type ScalingPolicyCustomizedMetricSpecificationPtrOutput

type ScalingPolicyCustomizedMetricSpecificationPtrOutput struct{ *pulumi.OutputState }

func (ScalingPolicyCustomizedMetricSpecificationPtrOutput) Dimensions

The dimensions of the metric.

Conditional: If you published your metric with dimensions, you must specify the same dimensions in your scaling policy.

func (ScalingPolicyCustomizedMetricSpecificationPtrOutput) Elem

func (ScalingPolicyCustomizedMetricSpecificationPtrOutput) ElementType

func (ScalingPolicyCustomizedMetricSpecificationPtrOutput) MetricName

The name of the metric. To get the exact metric name, namespace, and dimensions, inspect the [Metric](https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_Metric.html) object that's returned by a call to [ListMetrics](https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_ListMetrics.html).

func (ScalingPolicyCustomizedMetricSpecificationPtrOutput) Metrics added in v0.85.0

The metrics to include in the target tracking scaling policy, as a metric data query. This can include both raw metric and metric math expressions.

func (ScalingPolicyCustomizedMetricSpecificationPtrOutput) Namespace

The namespace of the metric.

func (ScalingPolicyCustomizedMetricSpecificationPtrOutput) Statistic

The statistic of the metric.

func (ScalingPolicyCustomizedMetricSpecificationPtrOutput) ToScalingPolicyCustomizedMetricSpecificationPtrOutput

func (o ScalingPolicyCustomizedMetricSpecificationPtrOutput) ToScalingPolicyCustomizedMetricSpecificationPtrOutput() ScalingPolicyCustomizedMetricSpecificationPtrOutput

func (ScalingPolicyCustomizedMetricSpecificationPtrOutput) ToScalingPolicyCustomizedMetricSpecificationPtrOutputWithContext

func (o ScalingPolicyCustomizedMetricSpecificationPtrOutput) ToScalingPolicyCustomizedMetricSpecificationPtrOutputWithContext(ctx context.Context) ScalingPolicyCustomizedMetricSpecificationPtrOutput

func (ScalingPolicyCustomizedMetricSpecificationPtrOutput) Unit

The unit of the metric. For a complete list of the units that CloudWatch supports, see the [MetricDatum](https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_MetricDatum.html) data type in the *Amazon CloudWatch API Reference*.

type ScalingPolicyInput

type ScalingPolicyInput interface {
	pulumi.Input

	ToScalingPolicyOutput() ScalingPolicyOutput
	ToScalingPolicyOutputWithContext(ctx context.Context) ScalingPolicyOutput
}

type ScalingPolicyMetricDimension

type ScalingPolicyMetricDimension struct {
	// The name of the dimension.
	Name string `pulumi:"name"`
	// The value of the dimension.
	Value string `pulumi:"value"`
}

“MetricDimension“ specifies a name/value pair that is part of the identity of a CloudWatch metric for the “Dimensions“ property of the [AWS::ApplicationAutoScaling::ScalingPolicy CustomizedMetricSpecification](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationautoscaling-scalingpolicy-customizedmetricspecification.html) property type. Duplicate dimensions are not allowed.

type ScalingPolicyMetricDimensionArgs

type ScalingPolicyMetricDimensionArgs struct {
	// The name of the dimension.
	Name pulumi.StringInput `pulumi:"name"`
	// The value of the dimension.
	Value pulumi.StringInput `pulumi:"value"`
}

“MetricDimension“ specifies a name/value pair that is part of the identity of a CloudWatch metric for the “Dimensions“ property of the [AWS::ApplicationAutoScaling::ScalingPolicy CustomizedMetricSpecification](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationautoscaling-scalingpolicy-customizedmetricspecification.html) property type. Duplicate dimensions are not allowed.

func (ScalingPolicyMetricDimensionArgs) ElementType

func (ScalingPolicyMetricDimensionArgs) ToScalingPolicyMetricDimensionOutput

func (i ScalingPolicyMetricDimensionArgs) ToScalingPolicyMetricDimensionOutput() ScalingPolicyMetricDimensionOutput

func (ScalingPolicyMetricDimensionArgs) ToScalingPolicyMetricDimensionOutputWithContext

func (i ScalingPolicyMetricDimensionArgs) ToScalingPolicyMetricDimensionOutputWithContext(ctx context.Context) ScalingPolicyMetricDimensionOutput

type ScalingPolicyMetricDimensionArray

type ScalingPolicyMetricDimensionArray []ScalingPolicyMetricDimensionInput

func (ScalingPolicyMetricDimensionArray) ElementType

func (ScalingPolicyMetricDimensionArray) ToScalingPolicyMetricDimensionArrayOutput

func (i ScalingPolicyMetricDimensionArray) ToScalingPolicyMetricDimensionArrayOutput() ScalingPolicyMetricDimensionArrayOutput

func (ScalingPolicyMetricDimensionArray) ToScalingPolicyMetricDimensionArrayOutputWithContext

func (i ScalingPolicyMetricDimensionArray) ToScalingPolicyMetricDimensionArrayOutputWithContext(ctx context.Context) ScalingPolicyMetricDimensionArrayOutput

type ScalingPolicyMetricDimensionArrayInput

type ScalingPolicyMetricDimensionArrayInput interface {
	pulumi.Input

	ToScalingPolicyMetricDimensionArrayOutput() ScalingPolicyMetricDimensionArrayOutput
	ToScalingPolicyMetricDimensionArrayOutputWithContext(context.Context) ScalingPolicyMetricDimensionArrayOutput
}

ScalingPolicyMetricDimensionArrayInput is an input type that accepts ScalingPolicyMetricDimensionArray and ScalingPolicyMetricDimensionArrayOutput values. You can construct a concrete instance of `ScalingPolicyMetricDimensionArrayInput` via:

ScalingPolicyMetricDimensionArray{ ScalingPolicyMetricDimensionArgs{...} }

type ScalingPolicyMetricDimensionArrayOutput

type ScalingPolicyMetricDimensionArrayOutput struct{ *pulumi.OutputState }

func (ScalingPolicyMetricDimensionArrayOutput) ElementType

func (ScalingPolicyMetricDimensionArrayOutput) Index

func (ScalingPolicyMetricDimensionArrayOutput) ToScalingPolicyMetricDimensionArrayOutput

func (o ScalingPolicyMetricDimensionArrayOutput) ToScalingPolicyMetricDimensionArrayOutput() ScalingPolicyMetricDimensionArrayOutput

func (ScalingPolicyMetricDimensionArrayOutput) ToScalingPolicyMetricDimensionArrayOutputWithContext

func (o ScalingPolicyMetricDimensionArrayOutput) ToScalingPolicyMetricDimensionArrayOutputWithContext(ctx context.Context) ScalingPolicyMetricDimensionArrayOutput

type ScalingPolicyMetricDimensionInput

type ScalingPolicyMetricDimensionInput interface {
	pulumi.Input

	ToScalingPolicyMetricDimensionOutput() ScalingPolicyMetricDimensionOutput
	ToScalingPolicyMetricDimensionOutputWithContext(context.Context) ScalingPolicyMetricDimensionOutput
}

ScalingPolicyMetricDimensionInput is an input type that accepts ScalingPolicyMetricDimensionArgs and ScalingPolicyMetricDimensionOutput values. You can construct a concrete instance of `ScalingPolicyMetricDimensionInput` via:

ScalingPolicyMetricDimensionArgs{...}

type ScalingPolicyMetricDimensionOutput

type ScalingPolicyMetricDimensionOutput struct{ *pulumi.OutputState }

“MetricDimension“ specifies a name/value pair that is part of the identity of a CloudWatch metric for the “Dimensions“ property of the [AWS::ApplicationAutoScaling::ScalingPolicy CustomizedMetricSpecification](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationautoscaling-scalingpolicy-customizedmetricspecification.html) property type. Duplicate dimensions are not allowed.

func (ScalingPolicyMetricDimensionOutput) ElementType

func (ScalingPolicyMetricDimensionOutput) Name

The name of the dimension.

func (ScalingPolicyMetricDimensionOutput) ToScalingPolicyMetricDimensionOutput

func (o ScalingPolicyMetricDimensionOutput) ToScalingPolicyMetricDimensionOutput() ScalingPolicyMetricDimensionOutput

func (ScalingPolicyMetricDimensionOutput) ToScalingPolicyMetricDimensionOutputWithContext

func (o ScalingPolicyMetricDimensionOutput) ToScalingPolicyMetricDimensionOutputWithContext(ctx context.Context) ScalingPolicyMetricDimensionOutput

func (ScalingPolicyMetricDimensionOutput) Value

The value of the dimension.

type ScalingPolicyOutput

type ScalingPolicyOutput struct{ *pulumi.OutputState }

func (ScalingPolicyOutput) Arn added in v0.85.0

Returns the ARN of a scaling policy.

func (ScalingPolicyOutput) ElementType

func (ScalingPolicyOutput) ElementType() reflect.Type

func (ScalingPolicyOutput) PolicyName added in v0.17.0

func (o ScalingPolicyOutput) PolicyName() pulumi.StringOutput

The name of the scaling policy.

Updates to the name of a target tracking scaling policy are not supported, unless you also update the metric used for scaling. To change only a target tracking scaling policy's name, first delete the policy by removing the existing ``AWS::ApplicationAutoScaling::ScalingPolicy`` resource from the template and updating the stack. Then, recreate the resource with the same settings and a different name.

func (ScalingPolicyOutput) PolicyType added in v0.17.0

func (o ScalingPolicyOutput) PolicyType() pulumi.StringOutput

The scaling policy type.

The following policy types are supported:
 ``TargetTrackingScaling``—Not supported for Amazon EMR
 ``StepScaling``—Not supported for DynamoDB, Amazon Comprehend, Lambda, Amazon Keyspaces, Amazon MSK, Amazon ElastiCache, or Neptune.

func (ScalingPolicyOutput) PredictiveScalingPolicyConfiguration added in v1.9.0

The predictive scaling policy configuration.

func (ScalingPolicyOutput) ResourceId added in v0.17.0

The identifier of the resource associated with the scaling policy. This string consists of the resource type and unique identifier.

  • ECS service - The resource type is “service“ and the unique identifier is the cluster name and service name. Example: “service/my-cluster/my-service“.
  • Spot Fleet - The resource type is “spot-fleet-request“ and the unique identifier is the Spot Fleet request ID. Example: “spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE“.
  • EMR cluster - The resource type is “instancegroup“ and the unique identifier is the cluster ID and instance group ID. Example: “instancegroup/j-2EEZNYKUA1NTV/ig-1791Y4E1L8YI0“.
  • AppStream 2.0 fleet - The resource type is “fleet“ and the unique identifier is the fleet name. Example: “fleet/sample-fleet“.
  • DynamoDB table - The resource type is “table“ and the unique identifier is the table name. Example: “table/my-table“.
  • DynamoDB global secondary index - The resource type is “index“ and the unique identifier is the index name. Example: “table/my-table/index/my-table-index“.
  • Aurora DB cluster - The resource type is “cluster“ and the unique identifier is the cluster name. Example: “cluster:my-db-cluster“.
  • SageMaker endpoint variant - The resource type is “variant“ and the unique identifier is the resource ID. Example: “endpoint/my-end-point/variant/KMeansClustering“.
  • Custom resources are not supported with a resource type. This parameter must specify the “OutputValue“ from the CloudFormation template stack used to access the resources. The unique identifier is defined by the service provider. More information is available in our [GitHub repository](https://docs.aws.amazon.com/https://github.com/aws/aws-auto-scaling-custom-resource).
  • Amazon Comprehend document classification endpoint - The resource type and unique identifier are specified using the endpoint ARN. Example: “arn:aws:comprehend:us-west-2:123456789012:document-classifier-endpoint/EXAMPLE“.
  • Amazon Comprehend entity recognizer endpoint - The resource type and unique identifier are specified using the endpoint ARN. Example: “arn:aws:comprehend:us-west-2:123456789012:entity-recognizer-endpoint/EXAMPLE“.
  • Lambda provisioned concurrency - The resource type is “function“ and the unique identifier is the function name with a function version or alias name suffix that is not “$LATEST“. Example: “function:my-function:prod“ or “function:my-function:1“.
  • Amazon Keyspaces table - The resource type is “table“ and the unique identifier is the table name. Example: “keyspace/mykeyspace/table/mytable“.
  • Amazon MSK cluster - The resource type and unique identifier are specified using the cluster ARN. Example: “arn:aws:kafka:us-east-1:123456789012:cluster/demo-cluster-1/6357e0b2-0e6a-4b86-a0b4-70df934c2e31-5“.
  • Amazon ElastiCache replication group - The resource type is “replication-group“ and the unique identifier is the replication group name. Example: “replication-group/mycluster“.
  • Neptune cluster - The resource type is “cluster“ and the unique identifier is the cluster name. Example: “cluster:mycluster“.
  • SageMaker serverless endpoint - The resource type is “variant“ and the unique identifier is the resource ID. Example: “endpoint/my-end-point/variant/KMeansClustering“.
  • SageMaker inference component - The resource type is “inference-component“ and the unique identifier is the resource ID. Example: “inference-component/my-inference-component“.
  • Pool of WorkSpaces - The resource type is “workspacespool“ and the unique identifier is the pool ID. Example: “workspacespool/wspool-123456“.

func (ScalingPolicyOutput) ScalableDimension added in v0.17.0

func (o ScalingPolicyOutput) ScalableDimension() pulumi.StringPtrOutput

The scalable dimension. This string consists of the service namespace, resource type, and scaling property.

  • “ecs:service:DesiredCount“ - The task count of an ECS service.
  • “elasticmapreduce:instancegroup:InstanceCount“ - The instance count of an EMR Instance Group.
  • “ec2:spot-fleet-request:TargetCapacity“ - The target capacity of a Spot Fleet.
  • “appstream:fleet:DesiredCapacity“ - The capacity of an AppStream 2.0 fleet.
  • “dynamodb:table:ReadCapacityUnits“ - The provisioned read capacity for a DynamoDB table.
  • “dynamodb:table:WriteCapacityUnits“ - The provisioned write capacity for a DynamoDB table.
  • “dynamodb:index:ReadCapacityUnits“ - The provisioned read capacity for a DynamoDB global secondary index.
  • “dynamodb:index:WriteCapacityUnits“ - The provisioned write capacity for a DynamoDB global secondary index.
  • “rds:cluster:ReadReplicaCount“ - The count of Aurora Replicas in an Aurora DB cluster. Available for Aurora MySQL-compatible edition and Aurora PostgreSQL-compatible edition.
  • “sagemaker:variant:DesiredInstanceCount“ - The number of EC2 instances for a SageMaker model endpoint variant.
  • “custom-resource:ResourceType:Property“ - The scalable dimension for a custom resource provided by your own application or service.
  • “comprehend:document-classifier-endpoint:DesiredInferenceUnits“ - The number of inference units for an Amazon Comprehend document classification endpoint.
  • “comprehend:entity-recognizer-endpoint:DesiredInferenceUnits“ - The number of inference units for an Amazon Comprehend entity recognizer endpoint.
  • “lambda:function:ProvisionedConcurrency“ - The provisioned concurrency for a Lambda function.
  • “cassandra:table:ReadCapacityUnits“ - The provisioned read capacity for an Amazon Keyspaces table.
  • “cassandra:table:WriteCapacityUnits“ - The provisioned write capacity for an Amazon Keyspaces table.
  • “kafka:broker-storage:VolumeSize“ - The provisioned volume size (in GiB) for brokers in an Amazon MSK cluster.
  • “elasticache:replication-group:NodeGroups“ - The number of node groups for an Amazon ElastiCache replication group.
  • “elasticache:replication-group:Replicas“ - The number of replicas per node group for an Amazon ElastiCache replication group.
  • “neptune:cluster:ReadReplicaCount“ - The count of read replicas in an Amazon Neptune DB cluster.
  • “sagemaker:variant:DesiredProvisionedConcurrency“ - The provisioned concurrency for a SageMaker serverless endpoint.
  • “sagemaker:inference-component:DesiredCopyCount“ - The number of copies across an endpoint for a SageMaker inference component.
  • “workspaces:workspacespool:DesiredUserSessions“ - The number of user sessions for the WorkSpaces in the pool.

func (ScalingPolicyOutput) ScalingTargetId added in v0.17.0

func (o ScalingPolicyOutput) ScalingTargetId() pulumi.StringPtrOutput

The CloudFormation-generated ID of an Application Auto Scaling scalable target. For more information about the ID, see the Return Value section of the “AWS::ApplicationAutoScaling::ScalableTarget“ resource.

You must specify either the ``ScalingTargetId`` property, or the ``ResourceId``, ``ScalableDimension``, and ``ServiceNamespace`` properties, but not both.

func (ScalingPolicyOutput) ServiceNamespace added in v0.17.0

func (o ScalingPolicyOutput) ServiceNamespace() pulumi.StringPtrOutput

The namespace of the AWS service that provides the resource, or a “custom-resource“.

func (ScalingPolicyOutput) StepScalingPolicyConfiguration added in v0.17.0

A step scaling policy.

func (ScalingPolicyOutput) TargetTrackingScalingPolicyConfiguration added in v0.17.0

func (o ScalingPolicyOutput) TargetTrackingScalingPolicyConfiguration() ScalingPolicyTargetTrackingScalingPolicyConfigurationPtrOutput

A target tracking scaling policy.

func (ScalingPolicyOutput) ToScalingPolicyOutput

func (o ScalingPolicyOutput) ToScalingPolicyOutput() ScalingPolicyOutput

func (ScalingPolicyOutput) ToScalingPolicyOutputWithContext

func (o ScalingPolicyOutput) ToScalingPolicyOutputWithContext(ctx context.Context) ScalingPolicyOutput

type ScalingPolicyPredefinedMetricSpecification

type ScalingPolicyPredefinedMetricSpecification struct {
	// The metric type. The “ALBRequestCountPerTarget“ metric type applies only to Spot fleet requests and ECS services.
	PredefinedMetricType string `pulumi:"predefinedMetricType"`
	// Identifies the resource associated with the metric type. You can't specify a resource label unless the metric type is “ALBRequestCountPerTarget“ and there is a target group attached to the Spot Fleet or ECS service.
	//  You create the resource label by appending the final portion of the load balancer ARN and the final portion of the target group ARN into a single value, separated by a forward slash (/). The format of the resource label is:
	//   “app/my-alb/778d41231b141a0f/targetgroup/my-alb-target-group/943f017f100becff“.
	//  Where:
	//   +  app/<load-balancer-name>/<load-balancer-id> is the final portion of the load balancer ARN
	//   +  targetgroup/<target-group-name>/<target-group-id> is the final portion of the target group ARN.
	//
	//  To find the ARN for an Application Load Balancer, use the [DescribeLoadBalancers](https://docs.aws.amazon.com/elasticloadbalancing/latest/APIReference/API_DescribeLoadBalancers.html) API operation. To find the ARN for the target group, use the [DescribeTargetGroups](https://docs.aws.amazon.com/elasticloadbalancing/latest/APIReference/API_DescribeTargetGroups.html) API operation.
	ResourceLabel *string `pulumi:"resourceLabel"`
}

Contains predefined metric specification information for a target tracking scaling policy for Application Auto Scaling.

``PredefinedMetricSpecification`` is a property of the [AWS::ApplicationAutoScaling::ScalingPolicy TargetTrackingScalingPolicyConfiguration](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationautoscaling-scalingpolicy-targettrackingscalingpolicyconfiguration.html) property type.

type ScalingPolicyPredefinedMetricSpecificationArgs

type ScalingPolicyPredefinedMetricSpecificationArgs struct {
	// The metric type. The “ALBRequestCountPerTarget“ metric type applies only to Spot fleet requests and ECS services.
	PredefinedMetricType pulumi.StringInput `pulumi:"predefinedMetricType"`
	// Identifies the resource associated with the metric type. You can't specify a resource label unless the metric type is “ALBRequestCountPerTarget“ and there is a target group attached to the Spot Fleet or ECS service.
	//  You create the resource label by appending the final portion of the load balancer ARN and the final portion of the target group ARN into a single value, separated by a forward slash (/). The format of the resource label is:
	//   “app/my-alb/778d41231b141a0f/targetgroup/my-alb-target-group/943f017f100becff“.
	//  Where:
	//   +  app/<load-balancer-name>/<load-balancer-id> is the final portion of the load balancer ARN
	//   +  targetgroup/<target-group-name>/<target-group-id> is the final portion of the target group ARN.
	//
	//  To find the ARN for an Application Load Balancer, use the [DescribeLoadBalancers](https://docs.aws.amazon.com/elasticloadbalancing/latest/APIReference/API_DescribeLoadBalancers.html) API operation. To find the ARN for the target group, use the [DescribeTargetGroups](https://docs.aws.amazon.com/elasticloadbalancing/latest/APIReference/API_DescribeTargetGroups.html) API operation.
	ResourceLabel pulumi.StringPtrInput `pulumi:"resourceLabel"`
}

Contains predefined metric specification information for a target tracking scaling policy for Application Auto Scaling.

``PredefinedMetricSpecification`` is a property of the [AWS::ApplicationAutoScaling::ScalingPolicy TargetTrackingScalingPolicyConfiguration](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationautoscaling-scalingpolicy-targettrackingscalingpolicyconfiguration.html) property type.

func (ScalingPolicyPredefinedMetricSpecificationArgs) ElementType

func (ScalingPolicyPredefinedMetricSpecificationArgs) ToScalingPolicyPredefinedMetricSpecificationOutput

func (i ScalingPolicyPredefinedMetricSpecificationArgs) ToScalingPolicyPredefinedMetricSpecificationOutput() ScalingPolicyPredefinedMetricSpecificationOutput

func (ScalingPolicyPredefinedMetricSpecificationArgs) ToScalingPolicyPredefinedMetricSpecificationOutputWithContext

func (i ScalingPolicyPredefinedMetricSpecificationArgs) ToScalingPolicyPredefinedMetricSpecificationOutputWithContext(ctx context.Context) ScalingPolicyPredefinedMetricSpecificationOutput

func (ScalingPolicyPredefinedMetricSpecificationArgs) ToScalingPolicyPredefinedMetricSpecificationPtrOutput

func (i ScalingPolicyPredefinedMetricSpecificationArgs) ToScalingPolicyPredefinedMetricSpecificationPtrOutput() ScalingPolicyPredefinedMetricSpecificationPtrOutput

func (ScalingPolicyPredefinedMetricSpecificationArgs) ToScalingPolicyPredefinedMetricSpecificationPtrOutputWithContext

func (i ScalingPolicyPredefinedMetricSpecificationArgs) ToScalingPolicyPredefinedMetricSpecificationPtrOutputWithContext(ctx context.Context) ScalingPolicyPredefinedMetricSpecificationPtrOutput

type ScalingPolicyPredefinedMetricSpecificationInput

type ScalingPolicyPredefinedMetricSpecificationInput interface {
	pulumi.Input

	ToScalingPolicyPredefinedMetricSpecificationOutput() ScalingPolicyPredefinedMetricSpecificationOutput
	ToScalingPolicyPredefinedMetricSpecificationOutputWithContext(context.Context) ScalingPolicyPredefinedMetricSpecificationOutput
}

ScalingPolicyPredefinedMetricSpecificationInput is an input type that accepts ScalingPolicyPredefinedMetricSpecificationArgs and ScalingPolicyPredefinedMetricSpecificationOutput values. You can construct a concrete instance of `ScalingPolicyPredefinedMetricSpecificationInput` via:

ScalingPolicyPredefinedMetricSpecificationArgs{...}

type ScalingPolicyPredefinedMetricSpecificationOutput

type ScalingPolicyPredefinedMetricSpecificationOutput struct{ *pulumi.OutputState }

Contains predefined metric specification information for a target tracking scaling policy for Application Auto Scaling.

``PredefinedMetricSpecification`` is a property of the [AWS::ApplicationAutoScaling::ScalingPolicy TargetTrackingScalingPolicyConfiguration](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationautoscaling-scalingpolicy-targettrackingscalingpolicyconfiguration.html) property type.

func (ScalingPolicyPredefinedMetricSpecificationOutput) ElementType

func (ScalingPolicyPredefinedMetricSpecificationOutput) PredefinedMetricType

The metric type. The “ALBRequestCountPerTarget“ metric type applies only to Spot fleet requests and ECS services.

func (ScalingPolicyPredefinedMetricSpecificationOutput) ResourceLabel

Identifies the resource associated with the metric type. You can't specify a resource label unless the metric type is “ALBRequestCountPerTarget“ and there is a target group attached to the Spot Fleet or ECS service.

You create the resource label by appending the final portion of the load balancer ARN and the final portion of the target group ARN into a single value, separated by a forward slash (/). The format of the resource label is:
 ``app/my-alb/778d41231b141a0f/targetgroup/my-alb-target-group/943f017f100becff``.
Where:
 +  app/<load-balancer-name>/<load-balancer-id> is the final portion of the load balancer ARN
 +  targetgroup/<target-group-name>/<target-group-id> is the final portion of the target group ARN.

To find the ARN for an Application Load Balancer, use the [DescribeLoadBalancers](https://docs.aws.amazon.com/elasticloadbalancing/latest/APIReference/API_DescribeLoadBalancers.html) API operation. To find the ARN for the target group, use the [DescribeTargetGroups](https://docs.aws.amazon.com/elasticloadbalancing/latest/APIReference/API_DescribeTargetGroups.html) API operation.

func (ScalingPolicyPredefinedMetricSpecificationOutput) ToScalingPolicyPredefinedMetricSpecificationOutput

func (o ScalingPolicyPredefinedMetricSpecificationOutput) ToScalingPolicyPredefinedMetricSpecificationOutput() ScalingPolicyPredefinedMetricSpecificationOutput

func (ScalingPolicyPredefinedMetricSpecificationOutput) ToScalingPolicyPredefinedMetricSpecificationOutputWithContext

func (o ScalingPolicyPredefinedMetricSpecificationOutput) ToScalingPolicyPredefinedMetricSpecificationOutputWithContext(ctx context.Context) ScalingPolicyPredefinedMetricSpecificationOutput

func (ScalingPolicyPredefinedMetricSpecificationOutput) ToScalingPolicyPredefinedMetricSpecificationPtrOutput

func (o ScalingPolicyPredefinedMetricSpecificationOutput) ToScalingPolicyPredefinedMetricSpecificationPtrOutput() ScalingPolicyPredefinedMetricSpecificationPtrOutput

func (ScalingPolicyPredefinedMetricSpecificationOutput) ToScalingPolicyPredefinedMetricSpecificationPtrOutputWithContext

func (o ScalingPolicyPredefinedMetricSpecificationOutput) ToScalingPolicyPredefinedMetricSpecificationPtrOutputWithContext(ctx context.Context) ScalingPolicyPredefinedMetricSpecificationPtrOutput

type ScalingPolicyPredefinedMetricSpecificationPtrInput

type ScalingPolicyPredefinedMetricSpecificationPtrInput interface {
	pulumi.Input

	ToScalingPolicyPredefinedMetricSpecificationPtrOutput() ScalingPolicyPredefinedMetricSpecificationPtrOutput
	ToScalingPolicyPredefinedMetricSpecificationPtrOutputWithContext(context.Context) ScalingPolicyPredefinedMetricSpecificationPtrOutput
}

ScalingPolicyPredefinedMetricSpecificationPtrInput is an input type that accepts ScalingPolicyPredefinedMetricSpecificationArgs, ScalingPolicyPredefinedMetricSpecificationPtr and ScalingPolicyPredefinedMetricSpecificationPtrOutput values. You can construct a concrete instance of `ScalingPolicyPredefinedMetricSpecificationPtrInput` via:

        ScalingPolicyPredefinedMetricSpecificationArgs{...}

or:

        nil

type ScalingPolicyPredefinedMetricSpecificationPtrOutput

type ScalingPolicyPredefinedMetricSpecificationPtrOutput struct{ *pulumi.OutputState }

func (ScalingPolicyPredefinedMetricSpecificationPtrOutput) Elem

func (ScalingPolicyPredefinedMetricSpecificationPtrOutput) ElementType

func (ScalingPolicyPredefinedMetricSpecificationPtrOutput) PredefinedMetricType

The metric type. The “ALBRequestCountPerTarget“ metric type applies only to Spot fleet requests and ECS services.

func (ScalingPolicyPredefinedMetricSpecificationPtrOutput) ResourceLabel

Identifies the resource associated with the metric type. You can't specify a resource label unless the metric type is “ALBRequestCountPerTarget“ and there is a target group attached to the Spot Fleet or ECS service.

You create the resource label by appending the final portion of the load balancer ARN and the final portion of the target group ARN into a single value, separated by a forward slash (/). The format of the resource label is:
 ``app/my-alb/778d41231b141a0f/targetgroup/my-alb-target-group/943f017f100becff``.
Where:
 +  app/<load-balancer-name>/<load-balancer-id> is the final portion of the load balancer ARN
 +  targetgroup/<target-group-name>/<target-group-id> is the final portion of the target group ARN.

To find the ARN for an Application Load Balancer, use the [DescribeLoadBalancers](https://docs.aws.amazon.com/elasticloadbalancing/latest/APIReference/API_DescribeLoadBalancers.html) API operation. To find the ARN for the target group, use the [DescribeTargetGroups](https://docs.aws.amazon.com/elasticloadbalancing/latest/APIReference/API_DescribeTargetGroups.html) API operation.

func (ScalingPolicyPredefinedMetricSpecificationPtrOutput) ToScalingPolicyPredefinedMetricSpecificationPtrOutput

func (o ScalingPolicyPredefinedMetricSpecificationPtrOutput) ToScalingPolicyPredefinedMetricSpecificationPtrOutput() ScalingPolicyPredefinedMetricSpecificationPtrOutput

func (ScalingPolicyPredefinedMetricSpecificationPtrOutput) ToScalingPolicyPredefinedMetricSpecificationPtrOutputWithContext

func (o ScalingPolicyPredefinedMetricSpecificationPtrOutput) ToScalingPolicyPredefinedMetricSpecificationPtrOutputWithContext(ctx context.Context) ScalingPolicyPredefinedMetricSpecificationPtrOutput

type ScalingPolicyPredictiveScalingCustomizedCapacityMetric added in v1.9.0

type ScalingPolicyPredictiveScalingCustomizedCapacityMetric struct {
	// One or more metric data queries to provide data points for a metric specification.
	MetricDataQueries []ScalingPolicyPredictiveScalingMetricDataQuery `pulumi:"metricDataQueries"`
}

Represents a CloudWatch metric of your choosing for a predictive scaling policy.

type ScalingPolicyPredictiveScalingCustomizedCapacityMetricArgs added in v1.9.0

type ScalingPolicyPredictiveScalingCustomizedCapacityMetricArgs struct {
	// One or more metric data queries to provide data points for a metric specification.
	MetricDataQueries ScalingPolicyPredictiveScalingMetricDataQueryArrayInput `pulumi:"metricDataQueries"`
}

Represents a CloudWatch metric of your choosing for a predictive scaling policy.

func (ScalingPolicyPredictiveScalingCustomizedCapacityMetricArgs) ElementType added in v1.9.0

func (ScalingPolicyPredictiveScalingCustomizedCapacityMetricArgs) ToScalingPolicyPredictiveScalingCustomizedCapacityMetricOutput added in v1.9.0

func (ScalingPolicyPredictiveScalingCustomizedCapacityMetricArgs) ToScalingPolicyPredictiveScalingCustomizedCapacityMetricOutputWithContext added in v1.9.0

func (i ScalingPolicyPredictiveScalingCustomizedCapacityMetricArgs) ToScalingPolicyPredictiveScalingCustomizedCapacityMetricOutputWithContext(ctx context.Context) ScalingPolicyPredictiveScalingCustomizedCapacityMetricOutput

func (ScalingPolicyPredictiveScalingCustomizedCapacityMetricArgs) ToScalingPolicyPredictiveScalingCustomizedCapacityMetricPtrOutput added in v1.9.0

func (ScalingPolicyPredictiveScalingCustomizedCapacityMetricArgs) ToScalingPolicyPredictiveScalingCustomizedCapacityMetricPtrOutputWithContext added in v1.9.0

func (i ScalingPolicyPredictiveScalingCustomizedCapacityMetricArgs) ToScalingPolicyPredictiveScalingCustomizedCapacityMetricPtrOutputWithContext(ctx context.Context) ScalingPolicyPredictiveScalingCustomizedCapacityMetricPtrOutput

type ScalingPolicyPredictiveScalingCustomizedCapacityMetricInput added in v1.9.0

type ScalingPolicyPredictiveScalingCustomizedCapacityMetricInput interface {
	pulumi.Input

	ToScalingPolicyPredictiveScalingCustomizedCapacityMetricOutput() ScalingPolicyPredictiveScalingCustomizedCapacityMetricOutput
	ToScalingPolicyPredictiveScalingCustomizedCapacityMetricOutputWithContext(context.Context) ScalingPolicyPredictiveScalingCustomizedCapacityMetricOutput
}

ScalingPolicyPredictiveScalingCustomizedCapacityMetricInput is an input type that accepts ScalingPolicyPredictiveScalingCustomizedCapacityMetricArgs and ScalingPolicyPredictiveScalingCustomizedCapacityMetricOutput values. You can construct a concrete instance of `ScalingPolicyPredictiveScalingCustomizedCapacityMetricInput` via:

ScalingPolicyPredictiveScalingCustomizedCapacityMetricArgs{...}

type ScalingPolicyPredictiveScalingCustomizedCapacityMetricOutput added in v1.9.0

type ScalingPolicyPredictiveScalingCustomizedCapacityMetricOutput struct{ *pulumi.OutputState }

Represents a CloudWatch metric of your choosing for a predictive scaling policy.

func (ScalingPolicyPredictiveScalingCustomizedCapacityMetricOutput) ElementType added in v1.9.0

func (ScalingPolicyPredictiveScalingCustomizedCapacityMetricOutput) MetricDataQueries added in v1.9.0

One or more metric data queries to provide data points for a metric specification.

func (ScalingPolicyPredictiveScalingCustomizedCapacityMetricOutput) ToScalingPolicyPredictiveScalingCustomizedCapacityMetricOutput added in v1.9.0

func (ScalingPolicyPredictiveScalingCustomizedCapacityMetricOutput) ToScalingPolicyPredictiveScalingCustomizedCapacityMetricOutputWithContext added in v1.9.0

func (o ScalingPolicyPredictiveScalingCustomizedCapacityMetricOutput) ToScalingPolicyPredictiveScalingCustomizedCapacityMetricOutputWithContext(ctx context.Context) ScalingPolicyPredictiveScalingCustomizedCapacityMetricOutput

func (ScalingPolicyPredictiveScalingCustomizedCapacityMetricOutput) ToScalingPolicyPredictiveScalingCustomizedCapacityMetricPtrOutput added in v1.9.0

func (ScalingPolicyPredictiveScalingCustomizedCapacityMetricOutput) ToScalingPolicyPredictiveScalingCustomizedCapacityMetricPtrOutputWithContext added in v1.9.0

func (o ScalingPolicyPredictiveScalingCustomizedCapacityMetricOutput) ToScalingPolicyPredictiveScalingCustomizedCapacityMetricPtrOutputWithContext(ctx context.Context) ScalingPolicyPredictiveScalingCustomizedCapacityMetricPtrOutput

type ScalingPolicyPredictiveScalingCustomizedCapacityMetricPtrInput added in v1.9.0

type ScalingPolicyPredictiveScalingCustomizedCapacityMetricPtrInput interface {
	pulumi.Input

	ToScalingPolicyPredictiveScalingCustomizedCapacityMetricPtrOutput() ScalingPolicyPredictiveScalingCustomizedCapacityMetricPtrOutput
	ToScalingPolicyPredictiveScalingCustomizedCapacityMetricPtrOutputWithContext(context.Context) ScalingPolicyPredictiveScalingCustomizedCapacityMetricPtrOutput
}

ScalingPolicyPredictiveScalingCustomizedCapacityMetricPtrInput is an input type that accepts ScalingPolicyPredictiveScalingCustomizedCapacityMetricArgs, ScalingPolicyPredictiveScalingCustomizedCapacityMetricPtr and ScalingPolicyPredictiveScalingCustomizedCapacityMetricPtrOutput values. You can construct a concrete instance of `ScalingPolicyPredictiveScalingCustomizedCapacityMetricPtrInput` via:

        ScalingPolicyPredictiveScalingCustomizedCapacityMetricArgs{...}

or:

        nil

type ScalingPolicyPredictiveScalingCustomizedCapacityMetricPtrOutput added in v1.9.0

type ScalingPolicyPredictiveScalingCustomizedCapacityMetricPtrOutput struct{ *pulumi.OutputState }

func (ScalingPolicyPredictiveScalingCustomizedCapacityMetricPtrOutput) Elem added in v1.9.0

func (ScalingPolicyPredictiveScalingCustomizedCapacityMetricPtrOutput) ElementType added in v1.9.0

func (ScalingPolicyPredictiveScalingCustomizedCapacityMetricPtrOutput) MetricDataQueries added in v1.9.0

One or more metric data queries to provide data points for a metric specification.

func (ScalingPolicyPredictiveScalingCustomizedCapacityMetricPtrOutput) ToScalingPolicyPredictiveScalingCustomizedCapacityMetricPtrOutput added in v1.9.0

func (ScalingPolicyPredictiveScalingCustomizedCapacityMetricPtrOutput) ToScalingPolicyPredictiveScalingCustomizedCapacityMetricPtrOutputWithContext added in v1.9.0

func (o ScalingPolicyPredictiveScalingCustomizedCapacityMetricPtrOutput) ToScalingPolicyPredictiveScalingCustomizedCapacityMetricPtrOutputWithContext(ctx context.Context) ScalingPolicyPredictiveScalingCustomizedCapacityMetricPtrOutput

type ScalingPolicyPredictiveScalingCustomizedLoadMetric added in v1.9.0

type ScalingPolicyPredictiveScalingCustomizedLoadMetric struct {
	MetricDataQueries []ScalingPolicyPredictiveScalingMetricDataQuery `pulumi:"metricDataQueries"`
}

The customized load metric specification.

type ScalingPolicyPredictiveScalingCustomizedLoadMetricArgs added in v1.9.0

type ScalingPolicyPredictiveScalingCustomizedLoadMetricArgs struct {
	MetricDataQueries ScalingPolicyPredictiveScalingMetricDataQueryArrayInput `pulumi:"metricDataQueries"`
}

The customized load metric specification.

func (ScalingPolicyPredictiveScalingCustomizedLoadMetricArgs) ElementType added in v1.9.0

func (ScalingPolicyPredictiveScalingCustomizedLoadMetricArgs) ToScalingPolicyPredictiveScalingCustomizedLoadMetricOutput added in v1.9.0

func (ScalingPolicyPredictiveScalingCustomizedLoadMetricArgs) ToScalingPolicyPredictiveScalingCustomizedLoadMetricOutputWithContext added in v1.9.0

func (i ScalingPolicyPredictiveScalingCustomizedLoadMetricArgs) ToScalingPolicyPredictiveScalingCustomizedLoadMetricOutputWithContext(ctx context.Context) ScalingPolicyPredictiveScalingCustomizedLoadMetricOutput

func (ScalingPolicyPredictiveScalingCustomizedLoadMetricArgs) ToScalingPolicyPredictiveScalingCustomizedLoadMetricPtrOutput added in v1.9.0

func (i ScalingPolicyPredictiveScalingCustomizedLoadMetricArgs) ToScalingPolicyPredictiveScalingCustomizedLoadMetricPtrOutput() ScalingPolicyPredictiveScalingCustomizedLoadMetricPtrOutput

func (ScalingPolicyPredictiveScalingCustomizedLoadMetricArgs) ToScalingPolicyPredictiveScalingCustomizedLoadMetricPtrOutputWithContext added in v1.9.0

func (i ScalingPolicyPredictiveScalingCustomizedLoadMetricArgs) ToScalingPolicyPredictiveScalingCustomizedLoadMetricPtrOutputWithContext(ctx context.Context) ScalingPolicyPredictiveScalingCustomizedLoadMetricPtrOutput

type ScalingPolicyPredictiveScalingCustomizedLoadMetricInput added in v1.9.0

type ScalingPolicyPredictiveScalingCustomizedLoadMetricInput interface {
	pulumi.Input

	ToScalingPolicyPredictiveScalingCustomizedLoadMetricOutput() ScalingPolicyPredictiveScalingCustomizedLoadMetricOutput
	ToScalingPolicyPredictiveScalingCustomizedLoadMetricOutputWithContext(context.Context) ScalingPolicyPredictiveScalingCustomizedLoadMetricOutput
}

ScalingPolicyPredictiveScalingCustomizedLoadMetricInput is an input type that accepts ScalingPolicyPredictiveScalingCustomizedLoadMetricArgs and ScalingPolicyPredictiveScalingCustomizedLoadMetricOutput values. You can construct a concrete instance of `ScalingPolicyPredictiveScalingCustomizedLoadMetricInput` via:

ScalingPolicyPredictiveScalingCustomizedLoadMetricArgs{...}

type ScalingPolicyPredictiveScalingCustomizedLoadMetricOutput added in v1.9.0

type ScalingPolicyPredictiveScalingCustomizedLoadMetricOutput struct{ *pulumi.OutputState }

The customized load metric specification.

func (ScalingPolicyPredictiveScalingCustomizedLoadMetricOutput) ElementType added in v1.9.0

func (ScalingPolicyPredictiveScalingCustomizedLoadMetricOutput) MetricDataQueries added in v1.9.0

func (ScalingPolicyPredictiveScalingCustomizedLoadMetricOutput) ToScalingPolicyPredictiveScalingCustomizedLoadMetricOutput added in v1.9.0

func (ScalingPolicyPredictiveScalingCustomizedLoadMetricOutput) ToScalingPolicyPredictiveScalingCustomizedLoadMetricOutputWithContext added in v1.9.0

func (o ScalingPolicyPredictiveScalingCustomizedLoadMetricOutput) ToScalingPolicyPredictiveScalingCustomizedLoadMetricOutputWithContext(ctx context.Context) ScalingPolicyPredictiveScalingCustomizedLoadMetricOutput

func (ScalingPolicyPredictiveScalingCustomizedLoadMetricOutput) ToScalingPolicyPredictiveScalingCustomizedLoadMetricPtrOutput added in v1.9.0

func (ScalingPolicyPredictiveScalingCustomizedLoadMetricOutput) ToScalingPolicyPredictiveScalingCustomizedLoadMetricPtrOutputWithContext added in v1.9.0

func (o ScalingPolicyPredictiveScalingCustomizedLoadMetricOutput) ToScalingPolicyPredictiveScalingCustomizedLoadMetricPtrOutputWithContext(ctx context.Context) ScalingPolicyPredictiveScalingCustomizedLoadMetricPtrOutput

type ScalingPolicyPredictiveScalingCustomizedLoadMetricPtrInput added in v1.9.0

type ScalingPolicyPredictiveScalingCustomizedLoadMetricPtrInput interface {
	pulumi.Input

	ToScalingPolicyPredictiveScalingCustomizedLoadMetricPtrOutput() ScalingPolicyPredictiveScalingCustomizedLoadMetricPtrOutput
	ToScalingPolicyPredictiveScalingCustomizedLoadMetricPtrOutputWithContext(context.Context) ScalingPolicyPredictiveScalingCustomizedLoadMetricPtrOutput
}

ScalingPolicyPredictiveScalingCustomizedLoadMetricPtrInput is an input type that accepts ScalingPolicyPredictiveScalingCustomizedLoadMetricArgs, ScalingPolicyPredictiveScalingCustomizedLoadMetricPtr and ScalingPolicyPredictiveScalingCustomizedLoadMetricPtrOutput values. You can construct a concrete instance of `ScalingPolicyPredictiveScalingCustomizedLoadMetricPtrInput` via:

        ScalingPolicyPredictiveScalingCustomizedLoadMetricArgs{...}

or:

        nil

type ScalingPolicyPredictiveScalingCustomizedLoadMetricPtrOutput added in v1.9.0

type ScalingPolicyPredictiveScalingCustomizedLoadMetricPtrOutput struct{ *pulumi.OutputState }

func (ScalingPolicyPredictiveScalingCustomizedLoadMetricPtrOutput) Elem added in v1.9.0

func (ScalingPolicyPredictiveScalingCustomizedLoadMetricPtrOutput) ElementType added in v1.9.0

func (ScalingPolicyPredictiveScalingCustomizedLoadMetricPtrOutput) MetricDataQueries added in v1.9.0

func (ScalingPolicyPredictiveScalingCustomizedLoadMetricPtrOutput) ToScalingPolicyPredictiveScalingCustomizedLoadMetricPtrOutput added in v1.9.0

func (ScalingPolicyPredictiveScalingCustomizedLoadMetricPtrOutput) ToScalingPolicyPredictiveScalingCustomizedLoadMetricPtrOutputWithContext added in v1.9.0

func (o ScalingPolicyPredictiveScalingCustomizedLoadMetricPtrOutput) ToScalingPolicyPredictiveScalingCustomizedLoadMetricPtrOutputWithContext(ctx context.Context) ScalingPolicyPredictiveScalingCustomizedLoadMetricPtrOutput

type ScalingPolicyPredictiveScalingCustomizedScalingMetric added in v1.9.0

type ScalingPolicyPredictiveScalingCustomizedScalingMetric struct {
	// One or more metric data queries to provide data points for a metric specification.
	MetricDataQueries []ScalingPolicyPredictiveScalingMetricDataQuery `pulumi:"metricDataQueries"`
}

One or more metric data queries to provide data points for a metric specification.

type ScalingPolicyPredictiveScalingCustomizedScalingMetricArgs added in v1.9.0

type ScalingPolicyPredictiveScalingCustomizedScalingMetricArgs struct {
	// One or more metric data queries to provide data points for a metric specification.
	MetricDataQueries ScalingPolicyPredictiveScalingMetricDataQueryArrayInput `pulumi:"metricDataQueries"`
}

One or more metric data queries to provide data points for a metric specification.

func (ScalingPolicyPredictiveScalingCustomizedScalingMetricArgs) ElementType added in v1.9.0

func (ScalingPolicyPredictiveScalingCustomizedScalingMetricArgs) ToScalingPolicyPredictiveScalingCustomizedScalingMetricOutput added in v1.9.0

func (ScalingPolicyPredictiveScalingCustomizedScalingMetricArgs) ToScalingPolicyPredictiveScalingCustomizedScalingMetricOutputWithContext added in v1.9.0

func (i ScalingPolicyPredictiveScalingCustomizedScalingMetricArgs) ToScalingPolicyPredictiveScalingCustomizedScalingMetricOutputWithContext(ctx context.Context) ScalingPolicyPredictiveScalingCustomizedScalingMetricOutput

func (ScalingPolicyPredictiveScalingCustomizedScalingMetricArgs) ToScalingPolicyPredictiveScalingCustomizedScalingMetricPtrOutput added in v1.9.0

func (ScalingPolicyPredictiveScalingCustomizedScalingMetricArgs) ToScalingPolicyPredictiveScalingCustomizedScalingMetricPtrOutputWithContext added in v1.9.0

func (i ScalingPolicyPredictiveScalingCustomizedScalingMetricArgs) ToScalingPolicyPredictiveScalingCustomizedScalingMetricPtrOutputWithContext(ctx context.Context) ScalingPolicyPredictiveScalingCustomizedScalingMetricPtrOutput

type ScalingPolicyPredictiveScalingCustomizedScalingMetricInput added in v1.9.0

type ScalingPolicyPredictiveScalingCustomizedScalingMetricInput interface {
	pulumi.Input

	ToScalingPolicyPredictiveScalingCustomizedScalingMetricOutput() ScalingPolicyPredictiveScalingCustomizedScalingMetricOutput
	ToScalingPolicyPredictiveScalingCustomizedScalingMetricOutputWithContext(context.Context) ScalingPolicyPredictiveScalingCustomizedScalingMetricOutput
}

ScalingPolicyPredictiveScalingCustomizedScalingMetricInput is an input type that accepts ScalingPolicyPredictiveScalingCustomizedScalingMetricArgs and ScalingPolicyPredictiveScalingCustomizedScalingMetricOutput values. You can construct a concrete instance of `ScalingPolicyPredictiveScalingCustomizedScalingMetricInput` via:

ScalingPolicyPredictiveScalingCustomizedScalingMetricArgs{...}

type ScalingPolicyPredictiveScalingCustomizedScalingMetricOutput added in v1.9.0

type ScalingPolicyPredictiveScalingCustomizedScalingMetricOutput struct{ *pulumi.OutputState }

One or more metric data queries to provide data points for a metric specification.

func (ScalingPolicyPredictiveScalingCustomizedScalingMetricOutput) ElementType added in v1.9.0

func (ScalingPolicyPredictiveScalingCustomizedScalingMetricOutput) MetricDataQueries added in v1.9.0

One or more metric data queries to provide data points for a metric specification.

func (ScalingPolicyPredictiveScalingCustomizedScalingMetricOutput) ToScalingPolicyPredictiveScalingCustomizedScalingMetricOutput added in v1.9.0

func (ScalingPolicyPredictiveScalingCustomizedScalingMetricOutput) ToScalingPolicyPredictiveScalingCustomizedScalingMetricOutputWithContext added in v1.9.0

func (o ScalingPolicyPredictiveScalingCustomizedScalingMetricOutput) ToScalingPolicyPredictiveScalingCustomizedScalingMetricOutputWithContext(ctx context.Context) ScalingPolicyPredictiveScalingCustomizedScalingMetricOutput

func (ScalingPolicyPredictiveScalingCustomizedScalingMetricOutput) ToScalingPolicyPredictiveScalingCustomizedScalingMetricPtrOutput added in v1.9.0

func (ScalingPolicyPredictiveScalingCustomizedScalingMetricOutput) ToScalingPolicyPredictiveScalingCustomizedScalingMetricPtrOutputWithContext added in v1.9.0

func (o ScalingPolicyPredictiveScalingCustomizedScalingMetricOutput) ToScalingPolicyPredictiveScalingCustomizedScalingMetricPtrOutputWithContext(ctx context.Context) ScalingPolicyPredictiveScalingCustomizedScalingMetricPtrOutput

type ScalingPolicyPredictiveScalingCustomizedScalingMetricPtrInput added in v1.9.0

type ScalingPolicyPredictiveScalingCustomizedScalingMetricPtrInput interface {
	pulumi.Input

	ToScalingPolicyPredictiveScalingCustomizedScalingMetricPtrOutput() ScalingPolicyPredictiveScalingCustomizedScalingMetricPtrOutput
	ToScalingPolicyPredictiveScalingCustomizedScalingMetricPtrOutputWithContext(context.Context) ScalingPolicyPredictiveScalingCustomizedScalingMetricPtrOutput
}

ScalingPolicyPredictiveScalingCustomizedScalingMetricPtrInput is an input type that accepts ScalingPolicyPredictiveScalingCustomizedScalingMetricArgs, ScalingPolicyPredictiveScalingCustomizedScalingMetricPtr and ScalingPolicyPredictiveScalingCustomizedScalingMetricPtrOutput values. You can construct a concrete instance of `ScalingPolicyPredictiveScalingCustomizedScalingMetricPtrInput` via:

        ScalingPolicyPredictiveScalingCustomizedScalingMetricArgs{...}

or:

        nil

type ScalingPolicyPredictiveScalingCustomizedScalingMetricPtrOutput added in v1.9.0

type ScalingPolicyPredictiveScalingCustomizedScalingMetricPtrOutput struct{ *pulumi.OutputState }

func (ScalingPolicyPredictiveScalingCustomizedScalingMetricPtrOutput) Elem added in v1.9.0

func (ScalingPolicyPredictiveScalingCustomizedScalingMetricPtrOutput) ElementType added in v1.9.0

func (ScalingPolicyPredictiveScalingCustomizedScalingMetricPtrOutput) MetricDataQueries added in v1.9.0

One or more metric data queries to provide data points for a metric specification.

func (ScalingPolicyPredictiveScalingCustomizedScalingMetricPtrOutput) ToScalingPolicyPredictiveScalingCustomizedScalingMetricPtrOutput added in v1.9.0

func (ScalingPolicyPredictiveScalingCustomizedScalingMetricPtrOutput) ToScalingPolicyPredictiveScalingCustomizedScalingMetricPtrOutputWithContext added in v1.9.0

func (o ScalingPolicyPredictiveScalingCustomizedScalingMetricPtrOutput) ToScalingPolicyPredictiveScalingCustomizedScalingMetricPtrOutputWithContext(ctx context.Context) ScalingPolicyPredictiveScalingCustomizedScalingMetricPtrOutput

type ScalingPolicyPredictiveScalingMetric added in v1.9.0

type ScalingPolicyPredictiveScalingMetric struct {
	// Describes the dimensions of the metric.
	Dimensions []ScalingPolicyPredictiveScalingMetricDimension `pulumi:"dimensions"`
	// The name of the metric.
	MetricName *string `pulumi:"metricName"`
	// The namespace of the metric.
	Namespace *string `pulumi:"namespace"`
}

Describes the scaling metric.

type ScalingPolicyPredictiveScalingMetricArgs added in v1.9.0

type ScalingPolicyPredictiveScalingMetricArgs struct {
	// Describes the dimensions of the metric.
	Dimensions ScalingPolicyPredictiveScalingMetricDimensionArrayInput `pulumi:"dimensions"`
	// The name of the metric.
	MetricName pulumi.StringPtrInput `pulumi:"metricName"`
	// The namespace of the metric.
	Namespace pulumi.StringPtrInput `pulumi:"namespace"`
}

Describes the scaling metric.

func (ScalingPolicyPredictiveScalingMetricArgs) ElementType added in v1.9.0

func (ScalingPolicyPredictiveScalingMetricArgs) ToScalingPolicyPredictiveScalingMetricOutput added in v1.9.0

func (i ScalingPolicyPredictiveScalingMetricArgs) ToScalingPolicyPredictiveScalingMetricOutput() ScalingPolicyPredictiveScalingMetricOutput

func (ScalingPolicyPredictiveScalingMetricArgs) ToScalingPolicyPredictiveScalingMetricOutputWithContext added in v1.9.0

func (i ScalingPolicyPredictiveScalingMetricArgs) ToScalingPolicyPredictiveScalingMetricOutputWithContext(ctx context.Context) ScalingPolicyPredictiveScalingMetricOutput

func (ScalingPolicyPredictiveScalingMetricArgs) ToScalingPolicyPredictiveScalingMetricPtrOutput added in v1.9.0

func (i ScalingPolicyPredictiveScalingMetricArgs) ToScalingPolicyPredictiveScalingMetricPtrOutput() ScalingPolicyPredictiveScalingMetricPtrOutput

func (ScalingPolicyPredictiveScalingMetricArgs) ToScalingPolicyPredictiveScalingMetricPtrOutputWithContext added in v1.9.0

func (i ScalingPolicyPredictiveScalingMetricArgs) ToScalingPolicyPredictiveScalingMetricPtrOutputWithContext(ctx context.Context) ScalingPolicyPredictiveScalingMetricPtrOutput

type ScalingPolicyPredictiveScalingMetricDataQuery added in v1.9.0

type ScalingPolicyPredictiveScalingMetricDataQuery struct {
	// The math expression to perform on the returned data, if this object is performing a math expression. This expression can use the “Id“ of the other metrics to refer to those metrics, and can also use the “Id“ of other expressions to use the result of those expressions.
	//  Conditional: Within each “MetricDataQuery“ object, you must specify either “Expression“ or “MetricStat“, but not both.
	Expression *string `pulumi:"expression"`
	// A short name that identifies the object's results in the response. This name must be unique among all “MetricDataQuery“ objects specified for a single scaling policy. If you are performing math expressions on this set of data, this name represents that data and can serve as a variable in the mathematical expression. The valid characters are letters, numbers, and underscores. The first character must be a lowercase letter.
	Id *string `pulumi:"id"`
	// A human-readable label for this metric or expression. This is especially useful if this is a math expression, so that you know what the value represents.
	Label *string `pulumi:"label"`
	// Information about the metric data to return.
	//  Conditional: Within each “MetricDataQuery“ object, you must specify either “Expression“ or “MetricStat“, but not both.
	MetricStat *ScalingPolicyPredictiveScalingMetricStat `pulumi:"metricStat"`
	// Indicates whether to return the timestamps and raw data values of this metric.
	//  If you use any math expressions, specify “true“ for this value for only the final math expression that the metric specification is based on. You must specify “false“ for “ReturnData“ for all the other metrics and expressions used in the metric specification.
	//  If you are only retrieving metrics and not performing any math expressions, do not specify anything for “ReturnData“. This sets it to its default (“true“).
	ReturnData *bool `pulumi:"returnData"`
}

The metric data to return. Also defines whether this call is returning data for one metric only, or whether it is performing a math expression on the values of returned metric statistics to create a new time series. A time series is a series of data points, each of which is associated with a timestamp.

type ScalingPolicyPredictiveScalingMetricDataQueryArgs added in v1.9.0

type ScalingPolicyPredictiveScalingMetricDataQueryArgs struct {
	// The math expression to perform on the returned data, if this object is performing a math expression. This expression can use the “Id“ of the other metrics to refer to those metrics, and can also use the “Id“ of other expressions to use the result of those expressions.
	//  Conditional: Within each “MetricDataQuery“ object, you must specify either “Expression“ or “MetricStat“, but not both.
	Expression pulumi.StringPtrInput `pulumi:"expression"`
	// A short name that identifies the object's results in the response. This name must be unique among all “MetricDataQuery“ objects specified for a single scaling policy. If you are performing math expressions on this set of data, this name represents that data and can serve as a variable in the mathematical expression. The valid characters are letters, numbers, and underscores. The first character must be a lowercase letter.
	Id pulumi.StringPtrInput `pulumi:"id"`
	// A human-readable label for this metric or expression. This is especially useful if this is a math expression, so that you know what the value represents.
	Label pulumi.StringPtrInput `pulumi:"label"`
	// Information about the metric data to return.
	//  Conditional: Within each “MetricDataQuery“ object, you must specify either “Expression“ or “MetricStat“, but not both.
	MetricStat ScalingPolicyPredictiveScalingMetricStatPtrInput `pulumi:"metricStat"`
	// Indicates whether to return the timestamps and raw data values of this metric.
	//  If you use any math expressions, specify “true“ for this value for only the final math expression that the metric specification is based on. You must specify “false“ for “ReturnData“ for all the other metrics and expressions used in the metric specification.
	//  If you are only retrieving metrics and not performing any math expressions, do not specify anything for “ReturnData“. This sets it to its default (“true“).
	ReturnData pulumi.BoolPtrInput `pulumi:"returnData"`
}

The metric data to return. Also defines whether this call is returning data for one metric only, or whether it is performing a math expression on the values of returned metric statistics to create a new time series. A time series is a series of data points, each of which is associated with a timestamp.

func (ScalingPolicyPredictiveScalingMetricDataQueryArgs) ElementType added in v1.9.0

func (ScalingPolicyPredictiveScalingMetricDataQueryArgs) ToScalingPolicyPredictiveScalingMetricDataQueryOutput added in v1.9.0

func (i ScalingPolicyPredictiveScalingMetricDataQueryArgs) ToScalingPolicyPredictiveScalingMetricDataQueryOutput() ScalingPolicyPredictiveScalingMetricDataQueryOutput

func (ScalingPolicyPredictiveScalingMetricDataQueryArgs) ToScalingPolicyPredictiveScalingMetricDataQueryOutputWithContext added in v1.9.0

func (i ScalingPolicyPredictiveScalingMetricDataQueryArgs) ToScalingPolicyPredictiveScalingMetricDataQueryOutputWithContext(ctx context.Context) ScalingPolicyPredictiveScalingMetricDataQueryOutput

type ScalingPolicyPredictiveScalingMetricDataQueryArray added in v1.9.0

type ScalingPolicyPredictiveScalingMetricDataQueryArray []ScalingPolicyPredictiveScalingMetricDataQueryInput

func (ScalingPolicyPredictiveScalingMetricDataQueryArray) ElementType added in v1.9.0

func (ScalingPolicyPredictiveScalingMetricDataQueryArray) ToScalingPolicyPredictiveScalingMetricDataQueryArrayOutput added in v1.9.0

func (i ScalingPolicyPredictiveScalingMetricDataQueryArray) ToScalingPolicyPredictiveScalingMetricDataQueryArrayOutput() ScalingPolicyPredictiveScalingMetricDataQueryArrayOutput

func (ScalingPolicyPredictiveScalingMetricDataQueryArray) ToScalingPolicyPredictiveScalingMetricDataQueryArrayOutputWithContext added in v1.9.0

func (i ScalingPolicyPredictiveScalingMetricDataQueryArray) ToScalingPolicyPredictiveScalingMetricDataQueryArrayOutputWithContext(ctx context.Context) ScalingPolicyPredictiveScalingMetricDataQueryArrayOutput

type ScalingPolicyPredictiveScalingMetricDataQueryArrayInput added in v1.9.0

type ScalingPolicyPredictiveScalingMetricDataQueryArrayInput interface {
	pulumi.Input

	ToScalingPolicyPredictiveScalingMetricDataQueryArrayOutput() ScalingPolicyPredictiveScalingMetricDataQueryArrayOutput
	ToScalingPolicyPredictiveScalingMetricDataQueryArrayOutputWithContext(context.Context) ScalingPolicyPredictiveScalingMetricDataQueryArrayOutput
}

ScalingPolicyPredictiveScalingMetricDataQueryArrayInput is an input type that accepts ScalingPolicyPredictiveScalingMetricDataQueryArray and ScalingPolicyPredictiveScalingMetricDataQueryArrayOutput values. You can construct a concrete instance of `ScalingPolicyPredictiveScalingMetricDataQueryArrayInput` via:

ScalingPolicyPredictiveScalingMetricDataQueryArray{ ScalingPolicyPredictiveScalingMetricDataQueryArgs{...} }

type ScalingPolicyPredictiveScalingMetricDataQueryArrayOutput added in v1.9.0

type ScalingPolicyPredictiveScalingMetricDataQueryArrayOutput struct{ *pulumi.OutputState }

func (ScalingPolicyPredictiveScalingMetricDataQueryArrayOutput) ElementType added in v1.9.0

func (ScalingPolicyPredictiveScalingMetricDataQueryArrayOutput) Index added in v1.9.0

func (ScalingPolicyPredictiveScalingMetricDataQueryArrayOutput) ToScalingPolicyPredictiveScalingMetricDataQueryArrayOutput added in v1.9.0

func (ScalingPolicyPredictiveScalingMetricDataQueryArrayOutput) ToScalingPolicyPredictiveScalingMetricDataQueryArrayOutputWithContext added in v1.9.0

func (o ScalingPolicyPredictiveScalingMetricDataQueryArrayOutput) ToScalingPolicyPredictiveScalingMetricDataQueryArrayOutputWithContext(ctx context.Context) ScalingPolicyPredictiveScalingMetricDataQueryArrayOutput

type ScalingPolicyPredictiveScalingMetricDataQueryInput added in v1.9.0

type ScalingPolicyPredictiveScalingMetricDataQueryInput interface {
	pulumi.Input

	ToScalingPolicyPredictiveScalingMetricDataQueryOutput() ScalingPolicyPredictiveScalingMetricDataQueryOutput
	ToScalingPolicyPredictiveScalingMetricDataQueryOutputWithContext(context.Context) ScalingPolicyPredictiveScalingMetricDataQueryOutput
}

ScalingPolicyPredictiveScalingMetricDataQueryInput is an input type that accepts ScalingPolicyPredictiveScalingMetricDataQueryArgs and ScalingPolicyPredictiveScalingMetricDataQueryOutput values. You can construct a concrete instance of `ScalingPolicyPredictiveScalingMetricDataQueryInput` via:

ScalingPolicyPredictiveScalingMetricDataQueryArgs{...}

type ScalingPolicyPredictiveScalingMetricDataQueryOutput added in v1.9.0

type ScalingPolicyPredictiveScalingMetricDataQueryOutput struct{ *pulumi.OutputState }

The metric data to return. Also defines whether this call is returning data for one metric only, or whether it is performing a math expression on the values of returned metric statistics to create a new time series. A time series is a series of data points, each of which is associated with a timestamp.

func (ScalingPolicyPredictiveScalingMetricDataQueryOutput) ElementType added in v1.9.0

func (ScalingPolicyPredictiveScalingMetricDataQueryOutput) Expression added in v1.9.0

The math expression to perform on the returned data, if this object is performing a math expression. This expression can use the “Id“ of the other metrics to refer to those metrics, and can also use the “Id“ of other expressions to use the result of those expressions.

Conditional: Within each ``MetricDataQuery`` object, you must specify either ``Expression`` or ``MetricStat``, but not both.

func (ScalingPolicyPredictiveScalingMetricDataQueryOutput) Id added in v1.9.0

A short name that identifies the object's results in the response. This name must be unique among all “MetricDataQuery“ objects specified for a single scaling policy. If you are performing math expressions on this set of data, this name represents that data and can serve as a variable in the mathematical expression. The valid characters are letters, numbers, and underscores. The first character must be a lowercase letter.

func (ScalingPolicyPredictiveScalingMetricDataQueryOutput) Label added in v1.9.0

A human-readable label for this metric or expression. This is especially useful if this is a math expression, so that you know what the value represents.

func (ScalingPolicyPredictiveScalingMetricDataQueryOutput) MetricStat added in v1.9.0

Information about the metric data to return.

Conditional: Within each ``MetricDataQuery`` object, you must specify either ``Expression`` or ``MetricStat``, but not both.

func (ScalingPolicyPredictiveScalingMetricDataQueryOutput) ReturnData added in v1.9.0

Indicates whether to return the timestamps and raw data values of this metric.

If you use any math expressions, specify ``true`` for this value for only the final math expression that the metric specification is based on. You must specify ``false`` for ``ReturnData`` for all the other metrics and expressions used in the metric specification.
If you are only retrieving metrics and not performing any math expressions, do not specify anything for ``ReturnData``. This sets it to its default (``true``).

func (ScalingPolicyPredictiveScalingMetricDataQueryOutput) ToScalingPolicyPredictiveScalingMetricDataQueryOutput added in v1.9.0

func (o ScalingPolicyPredictiveScalingMetricDataQueryOutput) ToScalingPolicyPredictiveScalingMetricDataQueryOutput() ScalingPolicyPredictiveScalingMetricDataQueryOutput

func (ScalingPolicyPredictiveScalingMetricDataQueryOutput) ToScalingPolicyPredictiveScalingMetricDataQueryOutputWithContext added in v1.9.0

func (o ScalingPolicyPredictiveScalingMetricDataQueryOutput) ToScalingPolicyPredictiveScalingMetricDataQueryOutputWithContext(ctx context.Context) ScalingPolicyPredictiveScalingMetricDataQueryOutput

type ScalingPolicyPredictiveScalingMetricDimension added in v1.9.0

type ScalingPolicyPredictiveScalingMetricDimension struct {
	// The name of the dimension.
	Name *string `pulumi:"name"`
	// The value of the dimension.
	Value *string `pulumi:"value"`
}

Describes the dimension of a metric.

type ScalingPolicyPredictiveScalingMetricDimensionArgs added in v1.9.0

type ScalingPolicyPredictiveScalingMetricDimensionArgs struct {
	// The name of the dimension.
	Name pulumi.StringPtrInput `pulumi:"name"`
	// The value of the dimension.
	Value pulumi.StringPtrInput `pulumi:"value"`
}

Describes the dimension of a metric.

func (ScalingPolicyPredictiveScalingMetricDimensionArgs) ElementType added in v1.9.0

func (ScalingPolicyPredictiveScalingMetricDimensionArgs) ToScalingPolicyPredictiveScalingMetricDimensionOutput added in v1.9.0

func (i ScalingPolicyPredictiveScalingMetricDimensionArgs) ToScalingPolicyPredictiveScalingMetricDimensionOutput() ScalingPolicyPredictiveScalingMetricDimensionOutput

func (ScalingPolicyPredictiveScalingMetricDimensionArgs) ToScalingPolicyPredictiveScalingMetricDimensionOutputWithContext added in v1.9.0

func (i ScalingPolicyPredictiveScalingMetricDimensionArgs) ToScalingPolicyPredictiveScalingMetricDimensionOutputWithContext(ctx context.Context) ScalingPolicyPredictiveScalingMetricDimensionOutput

type ScalingPolicyPredictiveScalingMetricDimensionArray added in v1.9.0

type ScalingPolicyPredictiveScalingMetricDimensionArray []ScalingPolicyPredictiveScalingMetricDimensionInput

func (ScalingPolicyPredictiveScalingMetricDimensionArray) ElementType added in v1.9.0

func (ScalingPolicyPredictiveScalingMetricDimensionArray) ToScalingPolicyPredictiveScalingMetricDimensionArrayOutput added in v1.9.0

func (i ScalingPolicyPredictiveScalingMetricDimensionArray) ToScalingPolicyPredictiveScalingMetricDimensionArrayOutput() ScalingPolicyPredictiveScalingMetricDimensionArrayOutput

func (ScalingPolicyPredictiveScalingMetricDimensionArray) ToScalingPolicyPredictiveScalingMetricDimensionArrayOutputWithContext added in v1.9.0

func (i ScalingPolicyPredictiveScalingMetricDimensionArray) ToScalingPolicyPredictiveScalingMetricDimensionArrayOutputWithContext(ctx context.Context) ScalingPolicyPredictiveScalingMetricDimensionArrayOutput

type ScalingPolicyPredictiveScalingMetricDimensionArrayInput added in v1.9.0

type ScalingPolicyPredictiveScalingMetricDimensionArrayInput interface {
	pulumi.Input

	ToScalingPolicyPredictiveScalingMetricDimensionArrayOutput() ScalingPolicyPredictiveScalingMetricDimensionArrayOutput
	ToScalingPolicyPredictiveScalingMetricDimensionArrayOutputWithContext(context.Context) ScalingPolicyPredictiveScalingMetricDimensionArrayOutput
}

ScalingPolicyPredictiveScalingMetricDimensionArrayInput is an input type that accepts ScalingPolicyPredictiveScalingMetricDimensionArray and ScalingPolicyPredictiveScalingMetricDimensionArrayOutput values. You can construct a concrete instance of `ScalingPolicyPredictiveScalingMetricDimensionArrayInput` via:

ScalingPolicyPredictiveScalingMetricDimensionArray{ ScalingPolicyPredictiveScalingMetricDimensionArgs{...} }

type ScalingPolicyPredictiveScalingMetricDimensionArrayOutput added in v1.9.0

type ScalingPolicyPredictiveScalingMetricDimensionArrayOutput struct{ *pulumi.OutputState }

func (ScalingPolicyPredictiveScalingMetricDimensionArrayOutput) ElementType added in v1.9.0

func (ScalingPolicyPredictiveScalingMetricDimensionArrayOutput) Index added in v1.9.0

func (ScalingPolicyPredictiveScalingMetricDimensionArrayOutput) ToScalingPolicyPredictiveScalingMetricDimensionArrayOutput added in v1.9.0

func (ScalingPolicyPredictiveScalingMetricDimensionArrayOutput) ToScalingPolicyPredictiveScalingMetricDimensionArrayOutputWithContext added in v1.9.0

func (o ScalingPolicyPredictiveScalingMetricDimensionArrayOutput) ToScalingPolicyPredictiveScalingMetricDimensionArrayOutputWithContext(ctx context.Context) ScalingPolicyPredictiveScalingMetricDimensionArrayOutput

type ScalingPolicyPredictiveScalingMetricDimensionInput added in v1.9.0

type ScalingPolicyPredictiveScalingMetricDimensionInput interface {
	pulumi.Input

	ToScalingPolicyPredictiveScalingMetricDimensionOutput() ScalingPolicyPredictiveScalingMetricDimensionOutput
	ToScalingPolicyPredictiveScalingMetricDimensionOutputWithContext(context.Context) ScalingPolicyPredictiveScalingMetricDimensionOutput
}

ScalingPolicyPredictiveScalingMetricDimensionInput is an input type that accepts ScalingPolicyPredictiveScalingMetricDimensionArgs and ScalingPolicyPredictiveScalingMetricDimensionOutput values. You can construct a concrete instance of `ScalingPolicyPredictiveScalingMetricDimensionInput` via:

ScalingPolicyPredictiveScalingMetricDimensionArgs{...}

type ScalingPolicyPredictiveScalingMetricDimensionOutput added in v1.9.0

type ScalingPolicyPredictiveScalingMetricDimensionOutput struct{ *pulumi.OutputState }

Describes the dimension of a metric.

func (ScalingPolicyPredictiveScalingMetricDimensionOutput) ElementType added in v1.9.0

func (ScalingPolicyPredictiveScalingMetricDimensionOutput) Name added in v1.9.0

The name of the dimension.

func (ScalingPolicyPredictiveScalingMetricDimensionOutput) ToScalingPolicyPredictiveScalingMetricDimensionOutput added in v1.9.0

func (o ScalingPolicyPredictiveScalingMetricDimensionOutput) ToScalingPolicyPredictiveScalingMetricDimensionOutput() ScalingPolicyPredictiveScalingMetricDimensionOutput

func (ScalingPolicyPredictiveScalingMetricDimensionOutput) ToScalingPolicyPredictiveScalingMetricDimensionOutputWithContext added in v1.9.0

func (o ScalingPolicyPredictiveScalingMetricDimensionOutput) ToScalingPolicyPredictiveScalingMetricDimensionOutputWithContext(ctx context.Context) ScalingPolicyPredictiveScalingMetricDimensionOutput

func (ScalingPolicyPredictiveScalingMetricDimensionOutput) Value added in v1.9.0

The value of the dimension.

type ScalingPolicyPredictiveScalingMetricInput added in v1.9.0

type ScalingPolicyPredictiveScalingMetricInput interface {
	pulumi.Input

	ToScalingPolicyPredictiveScalingMetricOutput() ScalingPolicyPredictiveScalingMetricOutput
	ToScalingPolicyPredictiveScalingMetricOutputWithContext(context.Context) ScalingPolicyPredictiveScalingMetricOutput
}

ScalingPolicyPredictiveScalingMetricInput is an input type that accepts ScalingPolicyPredictiveScalingMetricArgs and ScalingPolicyPredictiveScalingMetricOutput values. You can construct a concrete instance of `ScalingPolicyPredictiveScalingMetricInput` via:

ScalingPolicyPredictiveScalingMetricArgs{...}

type ScalingPolicyPredictiveScalingMetricOutput added in v1.9.0

type ScalingPolicyPredictiveScalingMetricOutput struct{ *pulumi.OutputState }

Describes the scaling metric.

func (ScalingPolicyPredictiveScalingMetricOutput) Dimensions added in v1.9.0

Describes the dimensions of the metric.

func (ScalingPolicyPredictiveScalingMetricOutput) ElementType added in v1.9.0

func (ScalingPolicyPredictiveScalingMetricOutput) MetricName added in v1.9.0

The name of the metric.

func (ScalingPolicyPredictiveScalingMetricOutput) Namespace added in v1.9.0

The namespace of the metric.

func (ScalingPolicyPredictiveScalingMetricOutput) ToScalingPolicyPredictiveScalingMetricOutput added in v1.9.0

func (o ScalingPolicyPredictiveScalingMetricOutput) ToScalingPolicyPredictiveScalingMetricOutput() ScalingPolicyPredictiveScalingMetricOutput

func (ScalingPolicyPredictiveScalingMetricOutput) ToScalingPolicyPredictiveScalingMetricOutputWithContext added in v1.9.0

func (o ScalingPolicyPredictiveScalingMetricOutput) ToScalingPolicyPredictiveScalingMetricOutputWithContext(ctx context.Context) ScalingPolicyPredictiveScalingMetricOutput

func (ScalingPolicyPredictiveScalingMetricOutput) ToScalingPolicyPredictiveScalingMetricPtrOutput added in v1.9.0

func (o ScalingPolicyPredictiveScalingMetricOutput) ToScalingPolicyPredictiveScalingMetricPtrOutput() ScalingPolicyPredictiveScalingMetricPtrOutput

func (ScalingPolicyPredictiveScalingMetricOutput) ToScalingPolicyPredictiveScalingMetricPtrOutputWithContext added in v1.9.0

func (o ScalingPolicyPredictiveScalingMetricOutput) ToScalingPolicyPredictiveScalingMetricPtrOutputWithContext(ctx context.Context) ScalingPolicyPredictiveScalingMetricPtrOutput

type ScalingPolicyPredictiveScalingMetricPtrInput added in v1.9.0

type ScalingPolicyPredictiveScalingMetricPtrInput interface {
	pulumi.Input

	ToScalingPolicyPredictiveScalingMetricPtrOutput() ScalingPolicyPredictiveScalingMetricPtrOutput
	ToScalingPolicyPredictiveScalingMetricPtrOutputWithContext(context.Context) ScalingPolicyPredictiveScalingMetricPtrOutput
}

ScalingPolicyPredictiveScalingMetricPtrInput is an input type that accepts ScalingPolicyPredictiveScalingMetricArgs, ScalingPolicyPredictiveScalingMetricPtr and ScalingPolicyPredictiveScalingMetricPtrOutput values. You can construct a concrete instance of `ScalingPolicyPredictiveScalingMetricPtrInput` via:

        ScalingPolicyPredictiveScalingMetricArgs{...}

or:

        nil

type ScalingPolicyPredictiveScalingMetricPtrOutput added in v1.9.0

type ScalingPolicyPredictiveScalingMetricPtrOutput struct{ *pulumi.OutputState }

func (ScalingPolicyPredictiveScalingMetricPtrOutput) Dimensions added in v1.9.0

Describes the dimensions of the metric.

func (ScalingPolicyPredictiveScalingMetricPtrOutput) Elem added in v1.9.0

func (ScalingPolicyPredictiveScalingMetricPtrOutput) ElementType added in v1.9.0

func (ScalingPolicyPredictiveScalingMetricPtrOutput) MetricName added in v1.9.0

The name of the metric.

func (ScalingPolicyPredictiveScalingMetricPtrOutput) Namespace added in v1.9.0

The namespace of the metric.

func (ScalingPolicyPredictiveScalingMetricPtrOutput) ToScalingPolicyPredictiveScalingMetricPtrOutput added in v1.9.0

func (o ScalingPolicyPredictiveScalingMetricPtrOutput) ToScalingPolicyPredictiveScalingMetricPtrOutput() ScalingPolicyPredictiveScalingMetricPtrOutput

func (ScalingPolicyPredictiveScalingMetricPtrOutput) ToScalingPolicyPredictiveScalingMetricPtrOutputWithContext added in v1.9.0

func (o ScalingPolicyPredictiveScalingMetricPtrOutput) ToScalingPolicyPredictiveScalingMetricPtrOutputWithContext(ctx context.Context) ScalingPolicyPredictiveScalingMetricPtrOutput

type ScalingPolicyPredictiveScalingMetricSpecification added in v1.9.0

type ScalingPolicyPredictiveScalingMetricSpecification struct {
	// The customized capacity metric specification.
	CustomizedCapacityMetricSpecification *ScalingPolicyPredictiveScalingCustomizedCapacityMetric `pulumi:"customizedCapacityMetricSpecification"`
	// The customized load metric specification.
	CustomizedLoadMetricSpecification *ScalingPolicyPredictiveScalingCustomizedLoadMetric `pulumi:"customizedLoadMetricSpecification"`
	// The customized scaling metric specification.
	CustomizedScalingMetricSpecification *ScalingPolicyPredictiveScalingCustomizedScalingMetric `pulumi:"customizedScalingMetricSpecification"`
	// The predefined load metric specification.
	PredefinedLoadMetricSpecification *ScalingPolicyPredictiveScalingPredefinedLoadMetric `pulumi:"predefinedLoadMetricSpecification"`
	// The predefined metric pair specification that determines the appropriate scaling metric and load metric to use.
	PredefinedMetricPairSpecification *ScalingPolicyPredictiveScalingPredefinedMetricPair `pulumi:"predefinedMetricPairSpecification"`
	// The predefined scaling metric specification.
	PredefinedScalingMetricSpecification *ScalingPolicyPredictiveScalingPredefinedScalingMetric `pulumi:"predefinedScalingMetricSpecification"`
	// Specifies the target utilization.
	TargetValue float64 `pulumi:"targetValue"`
}

This structure specifies the metrics and target utilization settings for a predictive scaling policy.

You must specify either a metric pair, or a load metric and a scaling metric individually. Specifying a metric pair instead of individual metrics provides a simpler way to configure metrics for a scaling policy. You choose the metric pair, and the policy automatically knows the correct sum and average statistics to use for the load metric and the scaling metric.

type ScalingPolicyPredictiveScalingMetricSpecificationArgs added in v1.9.0

type ScalingPolicyPredictiveScalingMetricSpecificationArgs struct {
	// The customized capacity metric specification.
	CustomizedCapacityMetricSpecification ScalingPolicyPredictiveScalingCustomizedCapacityMetricPtrInput `pulumi:"customizedCapacityMetricSpecification"`
	// The customized load metric specification.
	CustomizedLoadMetricSpecification ScalingPolicyPredictiveScalingCustomizedLoadMetricPtrInput `pulumi:"customizedLoadMetricSpecification"`
	// The customized scaling metric specification.
	CustomizedScalingMetricSpecification ScalingPolicyPredictiveScalingCustomizedScalingMetricPtrInput `pulumi:"customizedScalingMetricSpecification"`
	// The predefined load metric specification.
	PredefinedLoadMetricSpecification ScalingPolicyPredictiveScalingPredefinedLoadMetricPtrInput `pulumi:"predefinedLoadMetricSpecification"`
	// The predefined metric pair specification that determines the appropriate scaling metric and load metric to use.
	PredefinedMetricPairSpecification ScalingPolicyPredictiveScalingPredefinedMetricPairPtrInput `pulumi:"predefinedMetricPairSpecification"`
	// The predefined scaling metric specification.
	PredefinedScalingMetricSpecification ScalingPolicyPredictiveScalingPredefinedScalingMetricPtrInput `pulumi:"predefinedScalingMetricSpecification"`
	// Specifies the target utilization.
	TargetValue pulumi.Float64Input `pulumi:"targetValue"`
}

This structure specifies the metrics and target utilization settings for a predictive scaling policy.

You must specify either a metric pair, or a load metric and a scaling metric individually. Specifying a metric pair instead of individual metrics provides a simpler way to configure metrics for a scaling policy. You choose the metric pair, and the policy automatically knows the correct sum and average statistics to use for the load metric and the scaling metric.

func (ScalingPolicyPredictiveScalingMetricSpecificationArgs) ElementType added in v1.9.0

func (ScalingPolicyPredictiveScalingMetricSpecificationArgs) ToScalingPolicyPredictiveScalingMetricSpecificationOutput added in v1.9.0

func (i ScalingPolicyPredictiveScalingMetricSpecificationArgs) ToScalingPolicyPredictiveScalingMetricSpecificationOutput() ScalingPolicyPredictiveScalingMetricSpecificationOutput

func (ScalingPolicyPredictiveScalingMetricSpecificationArgs) ToScalingPolicyPredictiveScalingMetricSpecificationOutputWithContext added in v1.9.0

func (i ScalingPolicyPredictiveScalingMetricSpecificationArgs) ToScalingPolicyPredictiveScalingMetricSpecificationOutputWithContext(ctx context.Context) ScalingPolicyPredictiveScalingMetricSpecificationOutput

type ScalingPolicyPredictiveScalingMetricSpecificationArray added in v1.9.0

type ScalingPolicyPredictiveScalingMetricSpecificationArray []ScalingPolicyPredictiveScalingMetricSpecificationInput

func (ScalingPolicyPredictiveScalingMetricSpecificationArray) ElementType added in v1.9.0

func (ScalingPolicyPredictiveScalingMetricSpecificationArray) ToScalingPolicyPredictiveScalingMetricSpecificationArrayOutput added in v1.9.0

func (i ScalingPolicyPredictiveScalingMetricSpecificationArray) ToScalingPolicyPredictiveScalingMetricSpecificationArrayOutput() ScalingPolicyPredictiveScalingMetricSpecificationArrayOutput

func (ScalingPolicyPredictiveScalingMetricSpecificationArray) ToScalingPolicyPredictiveScalingMetricSpecificationArrayOutputWithContext added in v1.9.0

func (i ScalingPolicyPredictiveScalingMetricSpecificationArray) ToScalingPolicyPredictiveScalingMetricSpecificationArrayOutputWithContext(ctx context.Context) ScalingPolicyPredictiveScalingMetricSpecificationArrayOutput

type ScalingPolicyPredictiveScalingMetricSpecificationArrayInput added in v1.9.0

type ScalingPolicyPredictiveScalingMetricSpecificationArrayInput interface {
	pulumi.Input

	ToScalingPolicyPredictiveScalingMetricSpecificationArrayOutput() ScalingPolicyPredictiveScalingMetricSpecificationArrayOutput
	ToScalingPolicyPredictiveScalingMetricSpecificationArrayOutputWithContext(context.Context) ScalingPolicyPredictiveScalingMetricSpecificationArrayOutput
}

ScalingPolicyPredictiveScalingMetricSpecificationArrayInput is an input type that accepts ScalingPolicyPredictiveScalingMetricSpecificationArray and ScalingPolicyPredictiveScalingMetricSpecificationArrayOutput values. You can construct a concrete instance of `ScalingPolicyPredictiveScalingMetricSpecificationArrayInput` via:

ScalingPolicyPredictiveScalingMetricSpecificationArray{ ScalingPolicyPredictiveScalingMetricSpecificationArgs{...} }

type ScalingPolicyPredictiveScalingMetricSpecificationArrayOutput added in v1.9.0

type ScalingPolicyPredictiveScalingMetricSpecificationArrayOutput struct{ *pulumi.OutputState }

func (ScalingPolicyPredictiveScalingMetricSpecificationArrayOutput) ElementType added in v1.9.0

func (ScalingPolicyPredictiveScalingMetricSpecificationArrayOutput) Index added in v1.9.0

func (ScalingPolicyPredictiveScalingMetricSpecificationArrayOutput) ToScalingPolicyPredictiveScalingMetricSpecificationArrayOutput added in v1.9.0

func (ScalingPolicyPredictiveScalingMetricSpecificationArrayOutput) ToScalingPolicyPredictiveScalingMetricSpecificationArrayOutputWithContext added in v1.9.0

func (o ScalingPolicyPredictiveScalingMetricSpecificationArrayOutput) ToScalingPolicyPredictiveScalingMetricSpecificationArrayOutputWithContext(ctx context.Context) ScalingPolicyPredictiveScalingMetricSpecificationArrayOutput

type ScalingPolicyPredictiveScalingMetricSpecificationInput added in v1.9.0

type ScalingPolicyPredictiveScalingMetricSpecificationInput interface {
	pulumi.Input

	ToScalingPolicyPredictiveScalingMetricSpecificationOutput() ScalingPolicyPredictiveScalingMetricSpecificationOutput
	ToScalingPolicyPredictiveScalingMetricSpecificationOutputWithContext(context.Context) ScalingPolicyPredictiveScalingMetricSpecificationOutput
}

ScalingPolicyPredictiveScalingMetricSpecificationInput is an input type that accepts ScalingPolicyPredictiveScalingMetricSpecificationArgs and ScalingPolicyPredictiveScalingMetricSpecificationOutput values. You can construct a concrete instance of `ScalingPolicyPredictiveScalingMetricSpecificationInput` via:

ScalingPolicyPredictiveScalingMetricSpecificationArgs{...}

type ScalingPolicyPredictiveScalingMetricSpecificationOutput added in v1.9.0

type ScalingPolicyPredictiveScalingMetricSpecificationOutput struct{ *pulumi.OutputState }

This structure specifies the metrics and target utilization settings for a predictive scaling policy.

You must specify either a metric pair, or a load metric and a scaling metric individually. Specifying a metric pair instead of individual metrics provides a simpler way to configure metrics for a scaling policy. You choose the metric pair, and the policy automatically knows the correct sum and average statistics to use for the load metric and the scaling metric.

func (ScalingPolicyPredictiveScalingMetricSpecificationOutput) CustomizedCapacityMetricSpecification added in v1.9.0

The customized capacity metric specification.

func (ScalingPolicyPredictiveScalingMetricSpecificationOutput) CustomizedLoadMetricSpecification added in v1.9.0

The customized load metric specification.

func (ScalingPolicyPredictiveScalingMetricSpecificationOutput) CustomizedScalingMetricSpecification added in v1.9.0

The customized scaling metric specification.

func (ScalingPolicyPredictiveScalingMetricSpecificationOutput) ElementType added in v1.9.0

func (ScalingPolicyPredictiveScalingMetricSpecificationOutput) PredefinedLoadMetricSpecification added in v1.9.0

The predefined load metric specification.

func (ScalingPolicyPredictiveScalingMetricSpecificationOutput) PredefinedMetricPairSpecification added in v1.9.0

The predefined metric pair specification that determines the appropriate scaling metric and load metric to use.

func (ScalingPolicyPredictiveScalingMetricSpecificationOutput) PredefinedScalingMetricSpecification added in v1.9.0

The predefined scaling metric specification.

func (ScalingPolicyPredictiveScalingMetricSpecificationOutput) TargetValue added in v1.9.0

Specifies the target utilization.

func (ScalingPolicyPredictiveScalingMetricSpecificationOutput) ToScalingPolicyPredictiveScalingMetricSpecificationOutput added in v1.9.0

func (ScalingPolicyPredictiveScalingMetricSpecificationOutput) ToScalingPolicyPredictiveScalingMetricSpecificationOutputWithContext added in v1.9.0

func (o ScalingPolicyPredictiveScalingMetricSpecificationOutput) ToScalingPolicyPredictiveScalingMetricSpecificationOutputWithContext(ctx context.Context) ScalingPolicyPredictiveScalingMetricSpecificationOutput

type ScalingPolicyPredictiveScalingMetricStat added in v1.9.0

type ScalingPolicyPredictiveScalingMetricStat struct {
	// The CloudWatch metric to return, including the metric name, namespace, and dimensions. To get the exact metric name, namespace, and dimensions, inspect the [Metric](https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_Metric.html) object that is returned by a call to [ListMetrics](https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_ListMetrics.html).
	Metric *ScalingPolicyPredictiveScalingMetric `pulumi:"metric"`
	// The statistic to return. It can include any CloudWatch statistic or extended statistic. For a list of valid values, see the table in [Statistics](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/cloudwatch_concepts.html#Statistic) in the *Amazon CloudWatch User Guide*.
	//  The most commonly used metrics for predictive scaling are “Average“ and “Sum“.
	Stat *string `pulumi:"stat"`
	// The unit to use for the returned data points. For a complete list of the units that CloudWatch supports, see the [MetricDatum](https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_MetricDatum.html) data type in the *Amazon CloudWatch API Reference*.
	Unit *string `pulumi:"unit"`
}

This structure defines the CloudWatch metric to return, along with the statistic and unit.

type ScalingPolicyPredictiveScalingMetricStatArgs added in v1.9.0

type ScalingPolicyPredictiveScalingMetricStatArgs struct {
	// The CloudWatch metric to return, including the metric name, namespace, and dimensions. To get the exact metric name, namespace, and dimensions, inspect the [Metric](https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_Metric.html) object that is returned by a call to [ListMetrics](https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_ListMetrics.html).
	Metric ScalingPolicyPredictiveScalingMetricPtrInput `pulumi:"metric"`
	// The statistic to return. It can include any CloudWatch statistic or extended statistic. For a list of valid values, see the table in [Statistics](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/cloudwatch_concepts.html#Statistic) in the *Amazon CloudWatch User Guide*.
	//  The most commonly used metrics for predictive scaling are “Average“ and “Sum“.
	Stat pulumi.StringPtrInput `pulumi:"stat"`
	// The unit to use for the returned data points. For a complete list of the units that CloudWatch supports, see the [MetricDatum](https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_MetricDatum.html) data type in the *Amazon CloudWatch API Reference*.
	Unit pulumi.StringPtrInput `pulumi:"unit"`
}

This structure defines the CloudWatch metric to return, along with the statistic and unit.

func (ScalingPolicyPredictiveScalingMetricStatArgs) ElementType added in v1.9.0

func (ScalingPolicyPredictiveScalingMetricStatArgs) ToScalingPolicyPredictiveScalingMetricStatOutput added in v1.9.0

func (i ScalingPolicyPredictiveScalingMetricStatArgs) ToScalingPolicyPredictiveScalingMetricStatOutput() ScalingPolicyPredictiveScalingMetricStatOutput

func (ScalingPolicyPredictiveScalingMetricStatArgs) ToScalingPolicyPredictiveScalingMetricStatOutputWithContext added in v1.9.0

func (i ScalingPolicyPredictiveScalingMetricStatArgs) ToScalingPolicyPredictiveScalingMetricStatOutputWithContext(ctx context.Context) ScalingPolicyPredictiveScalingMetricStatOutput

func (ScalingPolicyPredictiveScalingMetricStatArgs) ToScalingPolicyPredictiveScalingMetricStatPtrOutput added in v1.9.0

func (i ScalingPolicyPredictiveScalingMetricStatArgs) ToScalingPolicyPredictiveScalingMetricStatPtrOutput() ScalingPolicyPredictiveScalingMetricStatPtrOutput

func (ScalingPolicyPredictiveScalingMetricStatArgs) ToScalingPolicyPredictiveScalingMetricStatPtrOutputWithContext added in v1.9.0

func (i ScalingPolicyPredictiveScalingMetricStatArgs) ToScalingPolicyPredictiveScalingMetricStatPtrOutputWithContext(ctx context.Context) ScalingPolicyPredictiveScalingMetricStatPtrOutput

type ScalingPolicyPredictiveScalingMetricStatInput added in v1.9.0

type ScalingPolicyPredictiveScalingMetricStatInput interface {
	pulumi.Input

	ToScalingPolicyPredictiveScalingMetricStatOutput() ScalingPolicyPredictiveScalingMetricStatOutput
	ToScalingPolicyPredictiveScalingMetricStatOutputWithContext(context.Context) ScalingPolicyPredictiveScalingMetricStatOutput
}

ScalingPolicyPredictiveScalingMetricStatInput is an input type that accepts ScalingPolicyPredictiveScalingMetricStatArgs and ScalingPolicyPredictiveScalingMetricStatOutput values. You can construct a concrete instance of `ScalingPolicyPredictiveScalingMetricStatInput` via:

ScalingPolicyPredictiveScalingMetricStatArgs{...}

type ScalingPolicyPredictiveScalingMetricStatOutput added in v1.9.0

type ScalingPolicyPredictiveScalingMetricStatOutput struct{ *pulumi.OutputState }

This structure defines the CloudWatch metric to return, along with the statistic and unit.

func (ScalingPolicyPredictiveScalingMetricStatOutput) ElementType added in v1.9.0

func (ScalingPolicyPredictiveScalingMetricStatOutput) Metric added in v1.9.0

The CloudWatch metric to return, including the metric name, namespace, and dimensions. To get the exact metric name, namespace, and dimensions, inspect the [Metric](https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_Metric.html) object that is returned by a call to [ListMetrics](https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_ListMetrics.html).

func (ScalingPolicyPredictiveScalingMetricStatOutput) Stat added in v1.9.0

The statistic to return. It can include any CloudWatch statistic or extended statistic. For a list of valid values, see the table in [Statistics](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/cloudwatch_concepts.html#Statistic) in the *Amazon CloudWatch User Guide*.

The most commonly used metrics for predictive scaling are ``Average`` and ``Sum``.

func (ScalingPolicyPredictiveScalingMetricStatOutput) ToScalingPolicyPredictiveScalingMetricStatOutput added in v1.9.0

func (o ScalingPolicyPredictiveScalingMetricStatOutput) ToScalingPolicyPredictiveScalingMetricStatOutput() ScalingPolicyPredictiveScalingMetricStatOutput

func (ScalingPolicyPredictiveScalingMetricStatOutput) ToScalingPolicyPredictiveScalingMetricStatOutputWithContext added in v1.9.0

func (o ScalingPolicyPredictiveScalingMetricStatOutput) ToScalingPolicyPredictiveScalingMetricStatOutputWithContext(ctx context.Context) ScalingPolicyPredictiveScalingMetricStatOutput

func (ScalingPolicyPredictiveScalingMetricStatOutput) ToScalingPolicyPredictiveScalingMetricStatPtrOutput added in v1.9.0

func (o ScalingPolicyPredictiveScalingMetricStatOutput) ToScalingPolicyPredictiveScalingMetricStatPtrOutput() ScalingPolicyPredictiveScalingMetricStatPtrOutput

func (ScalingPolicyPredictiveScalingMetricStatOutput) ToScalingPolicyPredictiveScalingMetricStatPtrOutputWithContext added in v1.9.0

func (o ScalingPolicyPredictiveScalingMetricStatOutput) ToScalingPolicyPredictiveScalingMetricStatPtrOutputWithContext(ctx context.Context) ScalingPolicyPredictiveScalingMetricStatPtrOutput

func (ScalingPolicyPredictiveScalingMetricStatOutput) Unit added in v1.9.0

The unit to use for the returned data points. For a complete list of the units that CloudWatch supports, see the [MetricDatum](https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_MetricDatum.html) data type in the *Amazon CloudWatch API Reference*.

type ScalingPolicyPredictiveScalingMetricStatPtrInput added in v1.9.0

type ScalingPolicyPredictiveScalingMetricStatPtrInput interface {
	pulumi.Input

	ToScalingPolicyPredictiveScalingMetricStatPtrOutput() ScalingPolicyPredictiveScalingMetricStatPtrOutput
	ToScalingPolicyPredictiveScalingMetricStatPtrOutputWithContext(context.Context) ScalingPolicyPredictiveScalingMetricStatPtrOutput
}

ScalingPolicyPredictiveScalingMetricStatPtrInput is an input type that accepts ScalingPolicyPredictiveScalingMetricStatArgs, ScalingPolicyPredictiveScalingMetricStatPtr and ScalingPolicyPredictiveScalingMetricStatPtrOutput values. You can construct a concrete instance of `ScalingPolicyPredictiveScalingMetricStatPtrInput` via:

        ScalingPolicyPredictiveScalingMetricStatArgs{...}

or:

        nil

type ScalingPolicyPredictiveScalingMetricStatPtrOutput added in v1.9.0

type ScalingPolicyPredictiveScalingMetricStatPtrOutput struct{ *pulumi.OutputState }

func (ScalingPolicyPredictiveScalingMetricStatPtrOutput) Elem added in v1.9.0

func (ScalingPolicyPredictiveScalingMetricStatPtrOutput) ElementType added in v1.9.0

func (ScalingPolicyPredictiveScalingMetricStatPtrOutput) Metric added in v1.9.0

The CloudWatch metric to return, including the metric name, namespace, and dimensions. To get the exact metric name, namespace, and dimensions, inspect the [Metric](https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_Metric.html) object that is returned by a call to [ListMetrics](https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_ListMetrics.html).

func (ScalingPolicyPredictiveScalingMetricStatPtrOutput) Stat added in v1.9.0

The statistic to return. It can include any CloudWatch statistic or extended statistic. For a list of valid values, see the table in [Statistics](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/cloudwatch_concepts.html#Statistic) in the *Amazon CloudWatch User Guide*.

The most commonly used metrics for predictive scaling are ``Average`` and ``Sum``.

func (ScalingPolicyPredictiveScalingMetricStatPtrOutput) ToScalingPolicyPredictiveScalingMetricStatPtrOutput added in v1.9.0

func (o ScalingPolicyPredictiveScalingMetricStatPtrOutput) ToScalingPolicyPredictiveScalingMetricStatPtrOutput() ScalingPolicyPredictiveScalingMetricStatPtrOutput

func (ScalingPolicyPredictiveScalingMetricStatPtrOutput) ToScalingPolicyPredictiveScalingMetricStatPtrOutputWithContext added in v1.9.0

func (o ScalingPolicyPredictiveScalingMetricStatPtrOutput) ToScalingPolicyPredictiveScalingMetricStatPtrOutputWithContext(ctx context.Context) ScalingPolicyPredictiveScalingMetricStatPtrOutput

func (ScalingPolicyPredictiveScalingMetricStatPtrOutput) Unit added in v1.9.0

The unit to use for the returned data points. For a complete list of the units that CloudWatch supports, see the [MetricDatum](https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_MetricDatum.html) data type in the *Amazon CloudWatch API Reference*.

type ScalingPolicyPredictiveScalingPolicyConfiguration added in v1.9.0

type ScalingPolicyPredictiveScalingPolicyConfiguration struct {
	// Defines the behavior that should be applied if the forecast capacity approaches or exceeds the maximum capacity. Defaults to “HonorMaxCapacity“ if not specified.
	MaxCapacityBreachBehavior *string `pulumi:"maxCapacityBreachBehavior"`
	// The size of the capacity buffer to use when the forecast capacity is close to or exceeds the maximum capacity. The value is specified as a percentage relative to the forecast capacity. For example, if the buffer is 10, this means a 10 percent buffer, such that if the forecast capacity is 50, and the maximum capacity is 40, then the effective maximum capacity is 55.
	//  Required if the “MaxCapacityBreachBehavior“ property is set to “IncreaseMaxCapacity“, and cannot be used otherwise.
	MaxCapacityBuffer *int `pulumi:"maxCapacityBuffer"`
	// This structure includes the metrics and target utilization to use for predictive scaling.
	//  This is an array, but we currently only support a single metric specification. That is, you can specify a target value and a single metric pair, or a target value and one scaling metric and one load metric.
	MetricSpecifications []ScalingPolicyPredictiveScalingMetricSpecification `pulumi:"metricSpecifications"`
	// The predictive scaling mode. Defaults to “ForecastOnly“ if not specified.
	Mode *string `pulumi:"mode"`
	// The amount of time, in seconds, that the start time can be advanced.
	//  The value must be less than the forecast interval duration of 3600 seconds (60 minutes). Defaults to 300 seconds if not specified.
	SchedulingBufferTime *int `pulumi:"schedulingBufferTime"`
}

Represents a predictive scaling policy configuration.

type ScalingPolicyPredictiveScalingPolicyConfigurationArgs added in v1.9.0

type ScalingPolicyPredictiveScalingPolicyConfigurationArgs struct {
	// Defines the behavior that should be applied if the forecast capacity approaches or exceeds the maximum capacity. Defaults to “HonorMaxCapacity“ if not specified.
	MaxCapacityBreachBehavior pulumi.StringPtrInput `pulumi:"maxCapacityBreachBehavior"`
	// The size of the capacity buffer to use when the forecast capacity is close to or exceeds the maximum capacity. The value is specified as a percentage relative to the forecast capacity. For example, if the buffer is 10, this means a 10 percent buffer, such that if the forecast capacity is 50, and the maximum capacity is 40, then the effective maximum capacity is 55.
	//  Required if the “MaxCapacityBreachBehavior“ property is set to “IncreaseMaxCapacity“, and cannot be used otherwise.
	MaxCapacityBuffer pulumi.IntPtrInput `pulumi:"maxCapacityBuffer"`
	// This structure includes the metrics and target utilization to use for predictive scaling.
	//  This is an array, but we currently only support a single metric specification. That is, you can specify a target value and a single metric pair, or a target value and one scaling metric and one load metric.
	MetricSpecifications ScalingPolicyPredictiveScalingMetricSpecificationArrayInput `pulumi:"metricSpecifications"`
	// The predictive scaling mode. Defaults to “ForecastOnly“ if not specified.
	Mode pulumi.StringPtrInput `pulumi:"mode"`
	// The amount of time, in seconds, that the start time can be advanced.
	//  The value must be less than the forecast interval duration of 3600 seconds (60 minutes). Defaults to 300 seconds if not specified.
	SchedulingBufferTime pulumi.IntPtrInput `pulumi:"schedulingBufferTime"`
}

Represents a predictive scaling policy configuration.

func (ScalingPolicyPredictiveScalingPolicyConfigurationArgs) ElementType added in v1.9.0

func (ScalingPolicyPredictiveScalingPolicyConfigurationArgs) ToScalingPolicyPredictiveScalingPolicyConfigurationOutput added in v1.9.0

func (i ScalingPolicyPredictiveScalingPolicyConfigurationArgs) ToScalingPolicyPredictiveScalingPolicyConfigurationOutput() ScalingPolicyPredictiveScalingPolicyConfigurationOutput

func (ScalingPolicyPredictiveScalingPolicyConfigurationArgs) ToScalingPolicyPredictiveScalingPolicyConfigurationOutputWithContext added in v1.9.0

func (i ScalingPolicyPredictiveScalingPolicyConfigurationArgs) ToScalingPolicyPredictiveScalingPolicyConfigurationOutputWithContext(ctx context.Context) ScalingPolicyPredictiveScalingPolicyConfigurationOutput

func (ScalingPolicyPredictiveScalingPolicyConfigurationArgs) ToScalingPolicyPredictiveScalingPolicyConfigurationPtrOutput added in v1.9.0

func (i ScalingPolicyPredictiveScalingPolicyConfigurationArgs) ToScalingPolicyPredictiveScalingPolicyConfigurationPtrOutput() ScalingPolicyPredictiveScalingPolicyConfigurationPtrOutput

func (ScalingPolicyPredictiveScalingPolicyConfigurationArgs) ToScalingPolicyPredictiveScalingPolicyConfigurationPtrOutputWithContext added in v1.9.0

func (i ScalingPolicyPredictiveScalingPolicyConfigurationArgs) ToScalingPolicyPredictiveScalingPolicyConfigurationPtrOutputWithContext(ctx context.Context) ScalingPolicyPredictiveScalingPolicyConfigurationPtrOutput

type ScalingPolicyPredictiveScalingPolicyConfigurationInput added in v1.9.0

type ScalingPolicyPredictiveScalingPolicyConfigurationInput interface {
	pulumi.Input

	ToScalingPolicyPredictiveScalingPolicyConfigurationOutput() ScalingPolicyPredictiveScalingPolicyConfigurationOutput
	ToScalingPolicyPredictiveScalingPolicyConfigurationOutputWithContext(context.Context) ScalingPolicyPredictiveScalingPolicyConfigurationOutput
}

ScalingPolicyPredictiveScalingPolicyConfigurationInput is an input type that accepts ScalingPolicyPredictiveScalingPolicyConfigurationArgs and ScalingPolicyPredictiveScalingPolicyConfigurationOutput values. You can construct a concrete instance of `ScalingPolicyPredictiveScalingPolicyConfigurationInput` via:

ScalingPolicyPredictiveScalingPolicyConfigurationArgs{...}

type ScalingPolicyPredictiveScalingPolicyConfigurationOutput added in v1.9.0

type ScalingPolicyPredictiveScalingPolicyConfigurationOutput struct{ *pulumi.OutputState }

Represents a predictive scaling policy configuration.

func (ScalingPolicyPredictiveScalingPolicyConfigurationOutput) ElementType added in v1.9.0

func (ScalingPolicyPredictiveScalingPolicyConfigurationOutput) MaxCapacityBreachBehavior added in v1.9.0

Defines the behavior that should be applied if the forecast capacity approaches or exceeds the maximum capacity. Defaults to “HonorMaxCapacity“ if not specified.

func (ScalingPolicyPredictiveScalingPolicyConfigurationOutput) MaxCapacityBuffer added in v1.9.0

The size of the capacity buffer to use when the forecast capacity is close to or exceeds the maximum capacity. The value is specified as a percentage relative to the forecast capacity. For example, if the buffer is 10, this means a 10 percent buffer, such that if the forecast capacity is 50, and the maximum capacity is 40, then the effective maximum capacity is 55.

Required if the ``MaxCapacityBreachBehavior`` property is set to ``IncreaseMaxCapacity``, and cannot be used otherwise.

func (ScalingPolicyPredictiveScalingPolicyConfigurationOutput) MetricSpecifications added in v1.9.0

This structure includes the metrics and target utilization to use for predictive scaling.

This is an array, but we currently only support a single metric specification. That is, you can specify a target value and a single metric pair, or a target value and one scaling metric and one load metric.

func (ScalingPolicyPredictiveScalingPolicyConfigurationOutput) Mode added in v1.9.0

The predictive scaling mode. Defaults to “ForecastOnly“ if not specified.

func (ScalingPolicyPredictiveScalingPolicyConfigurationOutput) SchedulingBufferTime added in v1.9.0

The amount of time, in seconds, that the start time can be advanced.

The value must be less than the forecast interval duration of 3600 seconds (60 minutes). Defaults to 300 seconds if not specified.

func (ScalingPolicyPredictiveScalingPolicyConfigurationOutput) ToScalingPolicyPredictiveScalingPolicyConfigurationOutput added in v1.9.0

func (ScalingPolicyPredictiveScalingPolicyConfigurationOutput) ToScalingPolicyPredictiveScalingPolicyConfigurationOutputWithContext added in v1.9.0

func (o ScalingPolicyPredictiveScalingPolicyConfigurationOutput) ToScalingPolicyPredictiveScalingPolicyConfigurationOutputWithContext(ctx context.Context) ScalingPolicyPredictiveScalingPolicyConfigurationOutput

func (ScalingPolicyPredictiveScalingPolicyConfigurationOutput) ToScalingPolicyPredictiveScalingPolicyConfigurationPtrOutput added in v1.9.0

func (ScalingPolicyPredictiveScalingPolicyConfigurationOutput) ToScalingPolicyPredictiveScalingPolicyConfigurationPtrOutputWithContext added in v1.9.0

func (o ScalingPolicyPredictiveScalingPolicyConfigurationOutput) ToScalingPolicyPredictiveScalingPolicyConfigurationPtrOutputWithContext(ctx context.Context) ScalingPolicyPredictiveScalingPolicyConfigurationPtrOutput

type ScalingPolicyPredictiveScalingPolicyConfigurationPtrInput added in v1.9.0

type ScalingPolicyPredictiveScalingPolicyConfigurationPtrInput interface {
	pulumi.Input

	ToScalingPolicyPredictiveScalingPolicyConfigurationPtrOutput() ScalingPolicyPredictiveScalingPolicyConfigurationPtrOutput
	ToScalingPolicyPredictiveScalingPolicyConfigurationPtrOutputWithContext(context.Context) ScalingPolicyPredictiveScalingPolicyConfigurationPtrOutput
}

ScalingPolicyPredictiveScalingPolicyConfigurationPtrInput is an input type that accepts ScalingPolicyPredictiveScalingPolicyConfigurationArgs, ScalingPolicyPredictiveScalingPolicyConfigurationPtr and ScalingPolicyPredictiveScalingPolicyConfigurationPtrOutput values. You can construct a concrete instance of `ScalingPolicyPredictiveScalingPolicyConfigurationPtrInput` via:

        ScalingPolicyPredictiveScalingPolicyConfigurationArgs{...}

or:

        nil

type ScalingPolicyPredictiveScalingPolicyConfigurationPtrOutput added in v1.9.0

type ScalingPolicyPredictiveScalingPolicyConfigurationPtrOutput struct{ *pulumi.OutputState }

func (ScalingPolicyPredictiveScalingPolicyConfigurationPtrOutput) Elem added in v1.9.0

func (ScalingPolicyPredictiveScalingPolicyConfigurationPtrOutput) ElementType added in v1.9.0

func (ScalingPolicyPredictiveScalingPolicyConfigurationPtrOutput) MaxCapacityBreachBehavior added in v1.9.0

Defines the behavior that should be applied if the forecast capacity approaches or exceeds the maximum capacity. Defaults to “HonorMaxCapacity“ if not specified.

func (ScalingPolicyPredictiveScalingPolicyConfigurationPtrOutput) MaxCapacityBuffer added in v1.9.0

The size of the capacity buffer to use when the forecast capacity is close to or exceeds the maximum capacity. The value is specified as a percentage relative to the forecast capacity. For example, if the buffer is 10, this means a 10 percent buffer, such that if the forecast capacity is 50, and the maximum capacity is 40, then the effective maximum capacity is 55.

Required if the ``MaxCapacityBreachBehavior`` property is set to ``IncreaseMaxCapacity``, and cannot be used otherwise.

func (ScalingPolicyPredictiveScalingPolicyConfigurationPtrOutput) MetricSpecifications added in v1.9.0

This structure includes the metrics and target utilization to use for predictive scaling.

This is an array, but we currently only support a single metric specification. That is, you can specify a target value and a single metric pair, or a target value and one scaling metric and one load metric.

func (ScalingPolicyPredictiveScalingPolicyConfigurationPtrOutput) Mode added in v1.9.0

The predictive scaling mode. Defaults to “ForecastOnly“ if not specified.

func (ScalingPolicyPredictiveScalingPolicyConfigurationPtrOutput) SchedulingBufferTime added in v1.9.0

The amount of time, in seconds, that the start time can be advanced.

The value must be less than the forecast interval duration of 3600 seconds (60 minutes). Defaults to 300 seconds if not specified.

func (ScalingPolicyPredictiveScalingPolicyConfigurationPtrOutput) ToScalingPolicyPredictiveScalingPolicyConfigurationPtrOutput added in v1.9.0

func (ScalingPolicyPredictiveScalingPolicyConfigurationPtrOutput) ToScalingPolicyPredictiveScalingPolicyConfigurationPtrOutputWithContext added in v1.9.0

func (o ScalingPolicyPredictiveScalingPolicyConfigurationPtrOutput) ToScalingPolicyPredictiveScalingPolicyConfigurationPtrOutputWithContext(ctx context.Context) ScalingPolicyPredictiveScalingPolicyConfigurationPtrOutput

type ScalingPolicyPredictiveScalingPredefinedLoadMetric added in v1.9.0

type ScalingPolicyPredictiveScalingPredefinedLoadMetric struct {
	// The metric type.
	PredefinedMetricType string `pulumi:"predefinedMetricType"`
	// A label that uniquely identifies a target group.
	ResourceLabel *string `pulumi:"resourceLabel"`
}

Describes a load metric for a predictive scaling policy.

When returned in the output of ``DescribePolicies``, it indicates that a predictive scaling policy uses individually specified load and scaling metrics instead of a metric pair.

type ScalingPolicyPredictiveScalingPredefinedLoadMetricArgs added in v1.9.0

type ScalingPolicyPredictiveScalingPredefinedLoadMetricArgs struct {
	// The metric type.
	PredefinedMetricType pulumi.StringInput `pulumi:"predefinedMetricType"`
	// A label that uniquely identifies a target group.
	ResourceLabel pulumi.StringPtrInput `pulumi:"resourceLabel"`
}

Describes a load metric for a predictive scaling policy.

When returned in the output of ``DescribePolicies``, it indicates that a predictive scaling policy uses individually specified load and scaling metrics instead of a metric pair.

func (ScalingPolicyPredictiveScalingPredefinedLoadMetricArgs) ElementType added in v1.9.0

func (ScalingPolicyPredictiveScalingPredefinedLoadMetricArgs) ToScalingPolicyPredictiveScalingPredefinedLoadMetricOutput added in v1.9.0

func (ScalingPolicyPredictiveScalingPredefinedLoadMetricArgs) ToScalingPolicyPredictiveScalingPredefinedLoadMetricOutputWithContext added in v1.9.0

func (i ScalingPolicyPredictiveScalingPredefinedLoadMetricArgs) ToScalingPolicyPredictiveScalingPredefinedLoadMetricOutputWithContext(ctx context.Context) ScalingPolicyPredictiveScalingPredefinedLoadMetricOutput

func (ScalingPolicyPredictiveScalingPredefinedLoadMetricArgs) ToScalingPolicyPredictiveScalingPredefinedLoadMetricPtrOutput added in v1.9.0

func (i ScalingPolicyPredictiveScalingPredefinedLoadMetricArgs) ToScalingPolicyPredictiveScalingPredefinedLoadMetricPtrOutput() ScalingPolicyPredictiveScalingPredefinedLoadMetricPtrOutput

func (ScalingPolicyPredictiveScalingPredefinedLoadMetricArgs) ToScalingPolicyPredictiveScalingPredefinedLoadMetricPtrOutputWithContext added in v1.9.0

func (i ScalingPolicyPredictiveScalingPredefinedLoadMetricArgs) ToScalingPolicyPredictiveScalingPredefinedLoadMetricPtrOutputWithContext(ctx context.Context) ScalingPolicyPredictiveScalingPredefinedLoadMetricPtrOutput

type ScalingPolicyPredictiveScalingPredefinedLoadMetricInput added in v1.9.0

type ScalingPolicyPredictiveScalingPredefinedLoadMetricInput interface {
	pulumi.Input

	ToScalingPolicyPredictiveScalingPredefinedLoadMetricOutput() ScalingPolicyPredictiveScalingPredefinedLoadMetricOutput
	ToScalingPolicyPredictiveScalingPredefinedLoadMetricOutputWithContext(context.Context) ScalingPolicyPredictiveScalingPredefinedLoadMetricOutput
}

ScalingPolicyPredictiveScalingPredefinedLoadMetricInput is an input type that accepts ScalingPolicyPredictiveScalingPredefinedLoadMetricArgs and ScalingPolicyPredictiveScalingPredefinedLoadMetricOutput values. You can construct a concrete instance of `ScalingPolicyPredictiveScalingPredefinedLoadMetricInput` via:

ScalingPolicyPredictiveScalingPredefinedLoadMetricArgs{...}

type ScalingPolicyPredictiveScalingPredefinedLoadMetricOutput added in v1.9.0

type ScalingPolicyPredictiveScalingPredefinedLoadMetricOutput struct{ *pulumi.OutputState }

Describes a load metric for a predictive scaling policy.

When returned in the output of ``DescribePolicies``, it indicates that a predictive scaling policy uses individually specified load and scaling metrics instead of a metric pair.

func (ScalingPolicyPredictiveScalingPredefinedLoadMetricOutput) ElementType added in v1.9.0

func (ScalingPolicyPredictiveScalingPredefinedLoadMetricOutput) PredefinedMetricType added in v1.9.0

The metric type.

func (ScalingPolicyPredictiveScalingPredefinedLoadMetricOutput) ResourceLabel added in v1.9.0

A label that uniquely identifies a target group.

func (ScalingPolicyPredictiveScalingPredefinedLoadMetricOutput) ToScalingPolicyPredictiveScalingPredefinedLoadMetricOutput added in v1.9.0

func (ScalingPolicyPredictiveScalingPredefinedLoadMetricOutput) ToScalingPolicyPredictiveScalingPredefinedLoadMetricOutputWithContext added in v1.9.0

func (o ScalingPolicyPredictiveScalingPredefinedLoadMetricOutput) ToScalingPolicyPredictiveScalingPredefinedLoadMetricOutputWithContext(ctx context.Context) ScalingPolicyPredictiveScalingPredefinedLoadMetricOutput

func (ScalingPolicyPredictiveScalingPredefinedLoadMetricOutput) ToScalingPolicyPredictiveScalingPredefinedLoadMetricPtrOutput added in v1.9.0

func (ScalingPolicyPredictiveScalingPredefinedLoadMetricOutput) ToScalingPolicyPredictiveScalingPredefinedLoadMetricPtrOutputWithContext added in v1.9.0

func (o ScalingPolicyPredictiveScalingPredefinedLoadMetricOutput) ToScalingPolicyPredictiveScalingPredefinedLoadMetricPtrOutputWithContext(ctx context.Context) ScalingPolicyPredictiveScalingPredefinedLoadMetricPtrOutput

type ScalingPolicyPredictiveScalingPredefinedLoadMetricPtrInput added in v1.9.0

type ScalingPolicyPredictiveScalingPredefinedLoadMetricPtrInput interface {
	pulumi.Input

	ToScalingPolicyPredictiveScalingPredefinedLoadMetricPtrOutput() ScalingPolicyPredictiveScalingPredefinedLoadMetricPtrOutput
	ToScalingPolicyPredictiveScalingPredefinedLoadMetricPtrOutputWithContext(context.Context) ScalingPolicyPredictiveScalingPredefinedLoadMetricPtrOutput
}

ScalingPolicyPredictiveScalingPredefinedLoadMetricPtrInput is an input type that accepts ScalingPolicyPredictiveScalingPredefinedLoadMetricArgs, ScalingPolicyPredictiveScalingPredefinedLoadMetricPtr and ScalingPolicyPredictiveScalingPredefinedLoadMetricPtrOutput values. You can construct a concrete instance of `ScalingPolicyPredictiveScalingPredefinedLoadMetricPtrInput` via:

        ScalingPolicyPredictiveScalingPredefinedLoadMetricArgs{...}

or:

        nil

type ScalingPolicyPredictiveScalingPredefinedLoadMetricPtrOutput added in v1.9.0

type ScalingPolicyPredictiveScalingPredefinedLoadMetricPtrOutput struct{ *pulumi.OutputState }

func (ScalingPolicyPredictiveScalingPredefinedLoadMetricPtrOutput) Elem added in v1.9.0

func (ScalingPolicyPredictiveScalingPredefinedLoadMetricPtrOutput) ElementType added in v1.9.0

func (ScalingPolicyPredictiveScalingPredefinedLoadMetricPtrOutput) PredefinedMetricType added in v1.9.0

The metric type.

func (ScalingPolicyPredictiveScalingPredefinedLoadMetricPtrOutput) ResourceLabel added in v1.9.0

A label that uniquely identifies a target group.

func (ScalingPolicyPredictiveScalingPredefinedLoadMetricPtrOutput) ToScalingPolicyPredictiveScalingPredefinedLoadMetricPtrOutput added in v1.9.0

func (ScalingPolicyPredictiveScalingPredefinedLoadMetricPtrOutput) ToScalingPolicyPredictiveScalingPredefinedLoadMetricPtrOutputWithContext added in v1.9.0

func (o ScalingPolicyPredictiveScalingPredefinedLoadMetricPtrOutput) ToScalingPolicyPredictiveScalingPredefinedLoadMetricPtrOutputWithContext(ctx context.Context) ScalingPolicyPredictiveScalingPredefinedLoadMetricPtrOutput

type ScalingPolicyPredictiveScalingPredefinedMetricPair added in v1.9.0

type ScalingPolicyPredictiveScalingPredefinedMetricPair struct {
	// Indicates which metrics to use. There are two different types of metrics for each metric type: one is a load metric and one is a scaling metric.
	PredefinedMetricType string `pulumi:"predefinedMetricType"`
	// A label that uniquely identifies a specific target group from which to determine the total and average request count.
	ResourceLabel *string `pulumi:"resourceLabel"`
}

Represents a metric pair for a predictive scaling policy.

type ScalingPolicyPredictiveScalingPredefinedMetricPairArgs added in v1.9.0

type ScalingPolicyPredictiveScalingPredefinedMetricPairArgs struct {
	// Indicates which metrics to use. There are two different types of metrics for each metric type: one is a load metric and one is a scaling metric.
	PredefinedMetricType pulumi.StringInput `pulumi:"predefinedMetricType"`
	// A label that uniquely identifies a specific target group from which to determine the total and average request count.
	ResourceLabel pulumi.StringPtrInput `pulumi:"resourceLabel"`
}

Represents a metric pair for a predictive scaling policy.

func (ScalingPolicyPredictiveScalingPredefinedMetricPairArgs) ElementType added in v1.9.0

func (ScalingPolicyPredictiveScalingPredefinedMetricPairArgs) ToScalingPolicyPredictiveScalingPredefinedMetricPairOutput added in v1.9.0

func (ScalingPolicyPredictiveScalingPredefinedMetricPairArgs) ToScalingPolicyPredictiveScalingPredefinedMetricPairOutputWithContext added in v1.9.0

func (i ScalingPolicyPredictiveScalingPredefinedMetricPairArgs) ToScalingPolicyPredictiveScalingPredefinedMetricPairOutputWithContext(ctx context.Context) ScalingPolicyPredictiveScalingPredefinedMetricPairOutput

func (ScalingPolicyPredictiveScalingPredefinedMetricPairArgs) ToScalingPolicyPredictiveScalingPredefinedMetricPairPtrOutput added in v1.9.0

func (i ScalingPolicyPredictiveScalingPredefinedMetricPairArgs) ToScalingPolicyPredictiveScalingPredefinedMetricPairPtrOutput() ScalingPolicyPredictiveScalingPredefinedMetricPairPtrOutput

func (ScalingPolicyPredictiveScalingPredefinedMetricPairArgs) ToScalingPolicyPredictiveScalingPredefinedMetricPairPtrOutputWithContext added in v1.9.0

func (i ScalingPolicyPredictiveScalingPredefinedMetricPairArgs) ToScalingPolicyPredictiveScalingPredefinedMetricPairPtrOutputWithContext(ctx context.Context) ScalingPolicyPredictiveScalingPredefinedMetricPairPtrOutput

type ScalingPolicyPredictiveScalingPredefinedMetricPairInput added in v1.9.0

type ScalingPolicyPredictiveScalingPredefinedMetricPairInput interface {
	pulumi.Input

	ToScalingPolicyPredictiveScalingPredefinedMetricPairOutput() ScalingPolicyPredictiveScalingPredefinedMetricPairOutput
	ToScalingPolicyPredictiveScalingPredefinedMetricPairOutputWithContext(context.Context) ScalingPolicyPredictiveScalingPredefinedMetricPairOutput
}

ScalingPolicyPredictiveScalingPredefinedMetricPairInput is an input type that accepts ScalingPolicyPredictiveScalingPredefinedMetricPairArgs and ScalingPolicyPredictiveScalingPredefinedMetricPairOutput values. You can construct a concrete instance of `ScalingPolicyPredictiveScalingPredefinedMetricPairInput` via:

ScalingPolicyPredictiveScalingPredefinedMetricPairArgs{...}

type ScalingPolicyPredictiveScalingPredefinedMetricPairOutput added in v1.9.0

type ScalingPolicyPredictiveScalingPredefinedMetricPairOutput struct{ *pulumi.OutputState }

Represents a metric pair for a predictive scaling policy.

func (ScalingPolicyPredictiveScalingPredefinedMetricPairOutput) ElementType added in v1.9.0

func (ScalingPolicyPredictiveScalingPredefinedMetricPairOutput) PredefinedMetricType added in v1.9.0

Indicates which metrics to use. There are two different types of metrics for each metric type: one is a load metric and one is a scaling metric.

func (ScalingPolicyPredictiveScalingPredefinedMetricPairOutput) ResourceLabel added in v1.9.0

A label that uniquely identifies a specific target group from which to determine the total and average request count.

func (ScalingPolicyPredictiveScalingPredefinedMetricPairOutput) ToScalingPolicyPredictiveScalingPredefinedMetricPairOutput added in v1.9.0

func (ScalingPolicyPredictiveScalingPredefinedMetricPairOutput) ToScalingPolicyPredictiveScalingPredefinedMetricPairOutputWithContext added in v1.9.0

func (o ScalingPolicyPredictiveScalingPredefinedMetricPairOutput) ToScalingPolicyPredictiveScalingPredefinedMetricPairOutputWithContext(ctx context.Context) ScalingPolicyPredictiveScalingPredefinedMetricPairOutput

func (ScalingPolicyPredictiveScalingPredefinedMetricPairOutput) ToScalingPolicyPredictiveScalingPredefinedMetricPairPtrOutput added in v1.9.0

func (ScalingPolicyPredictiveScalingPredefinedMetricPairOutput) ToScalingPolicyPredictiveScalingPredefinedMetricPairPtrOutputWithContext added in v1.9.0

func (o ScalingPolicyPredictiveScalingPredefinedMetricPairOutput) ToScalingPolicyPredictiveScalingPredefinedMetricPairPtrOutputWithContext(ctx context.Context) ScalingPolicyPredictiveScalingPredefinedMetricPairPtrOutput

type ScalingPolicyPredictiveScalingPredefinedMetricPairPtrInput added in v1.9.0

type ScalingPolicyPredictiveScalingPredefinedMetricPairPtrInput interface {
	pulumi.Input

	ToScalingPolicyPredictiveScalingPredefinedMetricPairPtrOutput() ScalingPolicyPredictiveScalingPredefinedMetricPairPtrOutput
	ToScalingPolicyPredictiveScalingPredefinedMetricPairPtrOutputWithContext(context.Context) ScalingPolicyPredictiveScalingPredefinedMetricPairPtrOutput
}

ScalingPolicyPredictiveScalingPredefinedMetricPairPtrInput is an input type that accepts ScalingPolicyPredictiveScalingPredefinedMetricPairArgs, ScalingPolicyPredictiveScalingPredefinedMetricPairPtr and ScalingPolicyPredictiveScalingPredefinedMetricPairPtrOutput values. You can construct a concrete instance of `ScalingPolicyPredictiveScalingPredefinedMetricPairPtrInput` via:

        ScalingPolicyPredictiveScalingPredefinedMetricPairArgs{...}

or:

        nil

type ScalingPolicyPredictiveScalingPredefinedMetricPairPtrOutput added in v1.9.0

type ScalingPolicyPredictiveScalingPredefinedMetricPairPtrOutput struct{ *pulumi.OutputState }

func (ScalingPolicyPredictiveScalingPredefinedMetricPairPtrOutput) Elem added in v1.9.0

func (ScalingPolicyPredictiveScalingPredefinedMetricPairPtrOutput) ElementType added in v1.9.0

func (ScalingPolicyPredictiveScalingPredefinedMetricPairPtrOutput) PredefinedMetricType added in v1.9.0

Indicates which metrics to use. There are two different types of metrics for each metric type: one is a load metric and one is a scaling metric.

func (ScalingPolicyPredictiveScalingPredefinedMetricPairPtrOutput) ResourceLabel added in v1.9.0

A label that uniquely identifies a specific target group from which to determine the total and average request count.

func (ScalingPolicyPredictiveScalingPredefinedMetricPairPtrOutput) ToScalingPolicyPredictiveScalingPredefinedMetricPairPtrOutput added in v1.9.0

func (ScalingPolicyPredictiveScalingPredefinedMetricPairPtrOutput) ToScalingPolicyPredictiveScalingPredefinedMetricPairPtrOutputWithContext added in v1.9.0

func (o ScalingPolicyPredictiveScalingPredefinedMetricPairPtrOutput) ToScalingPolicyPredictiveScalingPredefinedMetricPairPtrOutputWithContext(ctx context.Context) ScalingPolicyPredictiveScalingPredefinedMetricPairPtrOutput

type ScalingPolicyPredictiveScalingPredefinedScalingMetric added in v1.9.0

type ScalingPolicyPredictiveScalingPredefinedScalingMetric struct {
	// The metric type.
	PredefinedMetricType string `pulumi:"predefinedMetricType"`
	// A label that uniquely identifies a specific target group from which to determine the average request count.
	ResourceLabel *string `pulumi:"resourceLabel"`
}

Describes a scaling metric for a predictive scaling policy.

When returned in the output of ``DescribePolicies``, it indicates that a predictive scaling policy uses individually specified load and scaling metrics instead of a metric pair.

type ScalingPolicyPredictiveScalingPredefinedScalingMetricArgs added in v1.9.0

type ScalingPolicyPredictiveScalingPredefinedScalingMetricArgs struct {
	// The metric type.
	PredefinedMetricType pulumi.StringInput `pulumi:"predefinedMetricType"`
	// A label that uniquely identifies a specific target group from which to determine the average request count.
	ResourceLabel pulumi.StringPtrInput `pulumi:"resourceLabel"`
}

Describes a scaling metric for a predictive scaling policy.

When returned in the output of ``DescribePolicies``, it indicates that a predictive scaling policy uses individually specified load and scaling metrics instead of a metric pair.

func (ScalingPolicyPredictiveScalingPredefinedScalingMetricArgs) ElementType added in v1.9.0

func (ScalingPolicyPredictiveScalingPredefinedScalingMetricArgs) ToScalingPolicyPredictiveScalingPredefinedScalingMetricOutput added in v1.9.0

func (ScalingPolicyPredictiveScalingPredefinedScalingMetricArgs) ToScalingPolicyPredictiveScalingPredefinedScalingMetricOutputWithContext added in v1.9.0

func (i ScalingPolicyPredictiveScalingPredefinedScalingMetricArgs) ToScalingPolicyPredictiveScalingPredefinedScalingMetricOutputWithContext(ctx context.Context) ScalingPolicyPredictiveScalingPredefinedScalingMetricOutput

func (ScalingPolicyPredictiveScalingPredefinedScalingMetricArgs) ToScalingPolicyPredictiveScalingPredefinedScalingMetricPtrOutput added in v1.9.0

func (ScalingPolicyPredictiveScalingPredefinedScalingMetricArgs) ToScalingPolicyPredictiveScalingPredefinedScalingMetricPtrOutputWithContext added in v1.9.0

func (i ScalingPolicyPredictiveScalingPredefinedScalingMetricArgs) ToScalingPolicyPredictiveScalingPredefinedScalingMetricPtrOutputWithContext(ctx context.Context) ScalingPolicyPredictiveScalingPredefinedScalingMetricPtrOutput

type ScalingPolicyPredictiveScalingPredefinedScalingMetricInput added in v1.9.0

type ScalingPolicyPredictiveScalingPredefinedScalingMetricInput interface {
	pulumi.Input

	ToScalingPolicyPredictiveScalingPredefinedScalingMetricOutput() ScalingPolicyPredictiveScalingPredefinedScalingMetricOutput
	ToScalingPolicyPredictiveScalingPredefinedScalingMetricOutputWithContext(context.Context) ScalingPolicyPredictiveScalingPredefinedScalingMetricOutput
}

ScalingPolicyPredictiveScalingPredefinedScalingMetricInput is an input type that accepts ScalingPolicyPredictiveScalingPredefinedScalingMetricArgs and ScalingPolicyPredictiveScalingPredefinedScalingMetricOutput values. You can construct a concrete instance of `ScalingPolicyPredictiveScalingPredefinedScalingMetricInput` via:

ScalingPolicyPredictiveScalingPredefinedScalingMetricArgs{...}

type ScalingPolicyPredictiveScalingPredefinedScalingMetricOutput added in v1.9.0

type ScalingPolicyPredictiveScalingPredefinedScalingMetricOutput struct{ *pulumi.OutputState }

Describes a scaling metric for a predictive scaling policy.

When returned in the output of ``DescribePolicies``, it indicates that a predictive scaling policy uses individually specified load and scaling metrics instead of a metric pair.

func (ScalingPolicyPredictiveScalingPredefinedScalingMetricOutput) ElementType added in v1.9.0

func (ScalingPolicyPredictiveScalingPredefinedScalingMetricOutput) PredefinedMetricType added in v1.9.0

The metric type.

func (ScalingPolicyPredictiveScalingPredefinedScalingMetricOutput) ResourceLabel added in v1.9.0

A label that uniquely identifies a specific target group from which to determine the average request count.

func (ScalingPolicyPredictiveScalingPredefinedScalingMetricOutput) ToScalingPolicyPredictiveScalingPredefinedScalingMetricOutput added in v1.9.0

func (ScalingPolicyPredictiveScalingPredefinedScalingMetricOutput) ToScalingPolicyPredictiveScalingPredefinedScalingMetricOutputWithContext added in v1.9.0

func (o ScalingPolicyPredictiveScalingPredefinedScalingMetricOutput) ToScalingPolicyPredictiveScalingPredefinedScalingMetricOutputWithContext(ctx context.Context) ScalingPolicyPredictiveScalingPredefinedScalingMetricOutput

func (ScalingPolicyPredictiveScalingPredefinedScalingMetricOutput) ToScalingPolicyPredictiveScalingPredefinedScalingMetricPtrOutput added in v1.9.0

func (ScalingPolicyPredictiveScalingPredefinedScalingMetricOutput) ToScalingPolicyPredictiveScalingPredefinedScalingMetricPtrOutputWithContext added in v1.9.0

func (o ScalingPolicyPredictiveScalingPredefinedScalingMetricOutput) ToScalingPolicyPredictiveScalingPredefinedScalingMetricPtrOutputWithContext(ctx context.Context) ScalingPolicyPredictiveScalingPredefinedScalingMetricPtrOutput

type ScalingPolicyPredictiveScalingPredefinedScalingMetricPtrInput added in v1.9.0

type ScalingPolicyPredictiveScalingPredefinedScalingMetricPtrInput interface {
	pulumi.Input

	ToScalingPolicyPredictiveScalingPredefinedScalingMetricPtrOutput() ScalingPolicyPredictiveScalingPredefinedScalingMetricPtrOutput
	ToScalingPolicyPredictiveScalingPredefinedScalingMetricPtrOutputWithContext(context.Context) ScalingPolicyPredictiveScalingPredefinedScalingMetricPtrOutput
}

ScalingPolicyPredictiveScalingPredefinedScalingMetricPtrInput is an input type that accepts ScalingPolicyPredictiveScalingPredefinedScalingMetricArgs, ScalingPolicyPredictiveScalingPredefinedScalingMetricPtr and ScalingPolicyPredictiveScalingPredefinedScalingMetricPtrOutput values. You can construct a concrete instance of `ScalingPolicyPredictiveScalingPredefinedScalingMetricPtrInput` via:

        ScalingPolicyPredictiveScalingPredefinedScalingMetricArgs{...}

or:

        nil

type ScalingPolicyPredictiveScalingPredefinedScalingMetricPtrOutput added in v1.9.0

type ScalingPolicyPredictiveScalingPredefinedScalingMetricPtrOutput struct{ *pulumi.OutputState }

func (ScalingPolicyPredictiveScalingPredefinedScalingMetricPtrOutput) Elem added in v1.9.0

func (ScalingPolicyPredictiveScalingPredefinedScalingMetricPtrOutput) ElementType added in v1.9.0

func (ScalingPolicyPredictiveScalingPredefinedScalingMetricPtrOutput) PredefinedMetricType added in v1.9.0

The metric type.

func (ScalingPolicyPredictiveScalingPredefinedScalingMetricPtrOutput) ResourceLabel added in v1.9.0

A label that uniquely identifies a specific target group from which to determine the average request count.

func (ScalingPolicyPredictiveScalingPredefinedScalingMetricPtrOutput) ToScalingPolicyPredictiveScalingPredefinedScalingMetricPtrOutput added in v1.9.0

func (ScalingPolicyPredictiveScalingPredefinedScalingMetricPtrOutput) ToScalingPolicyPredictiveScalingPredefinedScalingMetricPtrOutputWithContext added in v1.9.0

func (o ScalingPolicyPredictiveScalingPredefinedScalingMetricPtrOutput) ToScalingPolicyPredictiveScalingPredefinedScalingMetricPtrOutputWithContext(ctx context.Context) ScalingPolicyPredictiveScalingPredefinedScalingMetricPtrOutput

type ScalingPolicyState

type ScalingPolicyState struct {
}

func (ScalingPolicyState) ElementType

func (ScalingPolicyState) ElementType() reflect.Type

type ScalingPolicyStepAdjustment

type ScalingPolicyStepAdjustment struct {
	// The lower bound for the difference between the alarm threshold and the CloudWatch metric. If the metric value is above the breach threshold, the lower bound is inclusive (the metric must be greater than or equal to the threshold plus the lower bound). Otherwise, it is exclusive (the metric must be greater than the threshold plus the lower bound). A null value indicates negative infinity.
	//  You must specify at least one upper or lower bound.
	MetricIntervalLowerBound *float64 `pulumi:"metricIntervalLowerBound"`
	// The upper bound for the difference between the alarm threshold and the CloudWatch metric. If the metric value is above the breach threshold, the upper bound is exclusive (the metric must be less than the threshold plus the upper bound). Otherwise, it is inclusive (the metric must be less than or equal to the threshold plus the upper bound). A null value indicates positive infinity.
	//  You must specify at least one upper or lower bound.
	MetricIntervalUpperBound *float64 `pulumi:"metricIntervalUpperBound"`
	// The amount by which to scale. The adjustment is based on the value that you specified in the “AdjustmentType“ property (either an absolute number or a percentage). A positive value adds to the current capacity and a negative number subtracts from the current capacity.
	ScalingAdjustment int `pulumi:"scalingAdjustment"`
}

“StepAdjustment“ specifies a step adjustment for the “StepAdjustments“ property of the [AWS::ApplicationAutoScaling::ScalingPolicy StepScalingPolicyConfiguration](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationautoscaling-scalingpolicy-stepscalingpolicyconfiguration.html) property type.

For the following examples, suppose that you have an alarm with a breach threshold of 50:
 +  To trigger a step adjustment when the metric is greater than or equal to 50 and less than 60, specify a lower bound of 0 and an upper bound of 10.
 +  To trigger a step adjustment when the metric is greater than 40 and less than or equal to 50, specify a lower bound of -10 and an upper bound of 0.

For more information, see [Step adjustments](https://docs.aws.amazon.com/autoscaling/application/userguide/application-auto-scaling-step-scaling-policies.html#as-scaling-steps) in the *Application Auto Scaling User Guide*.
You can find a sample template snippet in the [Examples](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-applicationautoscaling-scalingpolicy.html#aws-resource-applicationautoscaling-scalingpolicy--examples) section of the ``AWS::ApplicationAutoScaling::ScalingPolicy`` documentation.

type ScalingPolicyStepAdjustmentArgs

type ScalingPolicyStepAdjustmentArgs struct {
	// The lower bound for the difference between the alarm threshold and the CloudWatch metric. If the metric value is above the breach threshold, the lower bound is inclusive (the metric must be greater than or equal to the threshold plus the lower bound). Otherwise, it is exclusive (the metric must be greater than the threshold plus the lower bound). A null value indicates negative infinity.
	//  You must specify at least one upper or lower bound.
	MetricIntervalLowerBound pulumi.Float64PtrInput `pulumi:"metricIntervalLowerBound"`
	// The upper bound for the difference between the alarm threshold and the CloudWatch metric. If the metric value is above the breach threshold, the upper bound is exclusive (the metric must be less than the threshold plus the upper bound). Otherwise, it is inclusive (the metric must be less than or equal to the threshold plus the upper bound). A null value indicates positive infinity.
	//  You must specify at least one upper or lower bound.
	MetricIntervalUpperBound pulumi.Float64PtrInput `pulumi:"metricIntervalUpperBound"`
	// The amount by which to scale. The adjustment is based on the value that you specified in the “AdjustmentType“ property (either an absolute number or a percentage). A positive value adds to the current capacity and a negative number subtracts from the current capacity.
	ScalingAdjustment pulumi.IntInput `pulumi:"scalingAdjustment"`
}

“StepAdjustment“ specifies a step adjustment for the “StepAdjustments“ property of the [AWS::ApplicationAutoScaling::ScalingPolicy StepScalingPolicyConfiguration](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationautoscaling-scalingpolicy-stepscalingpolicyconfiguration.html) property type.

For the following examples, suppose that you have an alarm with a breach threshold of 50:
 +  To trigger a step adjustment when the metric is greater than or equal to 50 and less than 60, specify a lower bound of 0 and an upper bound of 10.
 +  To trigger a step adjustment when the metric is greater than 40 and less than or equal to 50, specify a lower bound of -10 and an upper bound of 0.

For more information, see [Step adjustments](https://docs.aws.amazon.com/autoscaling/application/userguide/application-auto-scaling-step-scaling-policies.html#as-scaling-steps) in the *Application Auto Scaling User Guide*.
You can find a sample template snippet in the [Examples](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-applicationautoscaling-scalingpolicy.html#aws-resource-applicationautoscaling-scalingpolicy--examples) section of the ``AWS::ApplicationAutoScaling::ScalingPolicy`` documentation.

func (ScalingPolicyStepAdjustmentArgs) ElementType

func (ScalingPolicyStepAdjustmentArgs) ToScalingPolicyStepAdjustmentOutput

func (i ScalingPolicyStepAdjustmentArgs) ToScalingPolicyStepAdjustmentOutput() ScalingPolicyStepAdjustmentOutput

func (ScalingPolicyStepAdjustmentArgs) ToScalingPolicyStepAdjustmentOutputWithContext

func (i ScalingPolicyStepAdjustmentArgs) ToScalingPolicyStepAdjustmentOutputWithContext(ctx context.Context) ScalingPolicyStepAdjustmentOutput

type ScalingPolicyStepAdjustmentArray

type ScalingPolicyStepAdjustmentArray []ScalingPolicyStepAdjustmentInput

func (ScalingPolicyStepAdjustmentArray) ElementType

func (ScalingPolicyStepAdjustmentArray) ToScalingPolicyStepAdjustmentArrayOutput

func (i ScalingPolicyStepAdjustmentArray) ToScalingPolicyStepAdjustmentArrayOutput() ScalingPolicyStepAdjustmentArrayOutput

func (ScalingPolicyStepAdjustmentArray) ToScalingPolicyStepAdjustmentArrayOutputWithContext

func (i ScalingPolicyStepAdjustmentArray) ToScalingPolicyStepAdjustmentArrayOutputWithContext(ctx context.Context) ScalingPolicyStepAdjustmentArrayOutput

type ScalingPolicyStepAdjustmentArrayInput

type ScalingPolicyStepAdjustmentArrayInput interface {
	pulumi.Input

	ToScalingPolicyStepAdjustmentArrayOutput() ScalingPolicyStepAdjustmentArrayOutput
	ToScalingPolicyStepAdjustmentArrayOutputWithContext(context.Context) ScalingPolicyStepAdjustmentArrayOutput
}

ScalingPolicyStepAdjustmentArrayInput is an input type that accepts ScalingPolicyStepAdjustmentArray and ScalingPolicyStepAdjustmentArrayOutput values. You can construct a concrete instance of `ScalingPolicyStepAdjustmentArrayInput` via:

ScalingPolicyStepAdjustmentArray{ ScalingPolicyStepAdjustmentArgs{...} }

type ScalingPolicyStepAdjustmentArrayOutput

type ScalingPolicyStepAdjustmentArrayOutput struct{ *pulumi.OutputState }

func (ScalingPolicyStepAdjustmentArrayOutput) ElementType

func (ScalingPolicyStepAdjustmentArrayOutput) Index

func (ScalingPolicyStepAdjustmentArrayOutput) ToScalingPolicyStepAdjustmentArrayOutput

func (o ScalingPolicyStepAdjustmentArrayOutput) ToScalingPolicyStepAdjustmentArrayOutput() ScalingPolicyStepAdjustmentArrayOutput

func (ScalingPolicyStepAdjustmentArrayOutput) ToScalingPolicyStepAdjustmentArrayOutputWithContext

func (o ScalingPolicyStepAdjustmentArrayOutput) ToScalingPolicyStepAdjustmentArrayOutputWithContext(ctx context.Context) ScalingPolicyStepAdjustmentArrayOutput

type ScalingPolicyStepAdjustmentInput

type ScalingPolicyStepAdjustmentInput interface {
	pulumi.Input

	ToScalingPolicyStepAdjustmentOutput() ScalingPolicyStepAdjustmentOutput
	ToScalingPolicyStepAdjustmentOutputWithContext(context.Context) ScalingPolicyStepAdjustmentOutput
}

ScalingPolicyStepAdjustmentInput is an input type that accepts ScalingPolicyStepAdjustmentArgs and ScalingPolicyStepAdjustmentOutput values. You can construct a concrete instance of `ScalingPolicyStepAdjustmentInput` via:

ScalingPolicyStepAdjustmentArgs{...}

type ScalingPolicyStepAdjustmentOutput

type ScalingPolicyStepAdjustmentOutput struct{ *pulumi.OutputState }

“StepAdjustment“ specifies a step adjustment for the “StepAdjustments“ property of the [AWS::ApplicationAutoScaling::ScalingPolicy StepScalingPolicyConfiguration](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationautoscaling-scalingpolicy-stepscalingpolicyconfiguration.html) property type.

For the following examples, suppose that you have an alarm with a breach threshold of 50:
 +  To trigger a step adjustment when the metric is greater than or equal to 50 and less than 60, specify a lower bound of 0 and an upper bound of 10.
 +  To trigger a step adjustment when the metric is greater than 40 and less than or equal to 50, specify a lower bound of -10 and an upper bound of 0.

For more information, see [Step adjustments](https://docs.aws.amazon.com/autoscaling/application/userguide/application-auto-scaling-step-scaling-policies.html#as-scaling-steps) in the *Application Auto Scaling User Guide*.
You can find a sample template snippet in the [Examples](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-applicationautoscaling-scalingpolicy.html#aws-resource-applicationautoscaling-scalingpolicy--examples) section of the ``AWS::ApplicationAutoScaling::ScalingPolicy`` documentation.

func (ScalingPolicyStepAdjustmentOutput) ElementType

func (ScalingPolicyStepAdjustmentOutput) MetricIntervalLowerBound

func (o ScalingPolicyStepAdjustmentOutput) MetricIntervalLowerBound() pulumi.Float64PtrOutput

The lower bound for the difference between the alarm threshold and the CloudWatch metric. If the metric value is above the breach threshold, the lower bound is inclusive (the metric must be greater than or equal to the threshold plus the lower bound). Otherwise, it is exclusive (the metric must be greater than the threshold plus the lower bound). A null value indicates negative infinity.

You must specify at least one upper or lower bound.

func (ScalingPolicyStepAdjustmentOutput) MetricIntervalUpperBound

func (o ScalingPolicyStepAdjustmentOutput) MetricIntervalUpperBound() pulumi.Float64PtrOutput

The upper bound for the difference between the alarm threshold and the CloudWatch metric. If the metric value is above the breach threshold, the upper bound is exclusive (the metric must be less than the threshold plus the upper bound). Otherwise, it is inclusive (the metric must be less than or equal to the threshold plus the upper bound). A null value indicates positive infinity.

You must specify at least one upper or lower bound.

func (ScalingPolicyStepAdjustmentOutput) ScalingAdjustment

func (o ScalingPolicyStepAdjustmentOutput) ScalingAdjustment() pulumi.IntOutput

The amount by which to scale. The adjustment is based on the value that you specified in the “AdjustmentType“ property (either an absolute number or a percentage). A positive value adds to the current capacity and a negative number subtracts from the current capacity.

func (ScalingPolicyStepAdjustmentOutput) ToScalingPolicyStepAdjustmentOutput

func (o ScalingPolicyStepAdjustmentOutput) ToScalingPolicyStepAdjustmentOutput() ScalingPolicyStepAdjustmentOutput

func (ScalingPolicyStepAdjustmentOutput) ToScalingPolicyStepAdjustmentOutputWithContext

func (o ScalingPolicyStepAdjustmentOutput) ToScalingPolicyStepAdjustmentOutputWithContext(ctx context.Context) ScalingPolicyStepAdjustmentOutput

type ScalingPolicyStepScalingPolicyConfiguration

type ScalingPolicyStepScalingPolicyConfiguration struct {
	// Specifies whether the “ScalingAdjustment“ value in the “StepAdjustment“ property is an absolute number or a percentage of the current capacity.
	AdjustmentType *string `pulumi:"adjustmentType"`
	// The amount of time, in seconds, to wait for a previous scaling activity to take effect. If not specified, the default value is 300. For more information, see [Cooldown period](https://docs.aws.amazon.com/autoscaling/application/userguide/step-scaling-policy-overview.html#step-scaling-cooldown) in the *Application Auto Scaling User Guide*.
	Cooldown *int `pulumi:"cooldown"`
	// The aggregation type for the CloudWatch metrics. Valid values are “Minimum“, “Maximum“, and “Average“. If the aggregation type is null, the value is treated as “Average“.
	MetricAggregationType *string `pulumi:"metricAggregationType"`
	// The minimum value to scale by when the adjustment type is “PercentChangeInCapacity“. For example, suppose that you create a step scaling policy to scale out an Amazon ECS service by 25 percent and you specify a “MinAdjustmentMagnitude“ of 2. If the service has 4 tasks and the scaling policy is performed, 25 percent of 4 is 1. However, because you specified a “MinAdjustmentMagnitude“ of 2, Application Auto Scaling scales out the service by 2 tasks.
	MinAdjustmentMagnitude *int `pulumi:"minAdjustmentMagnitude"`
	// A set of adjustments that enable you to scale based on the size of the alarm breach.
	//  At least one step adjustment is required if you are adding a new step scaling policy configuration.
	StepAdjustments []ScalingPolicyStepAdjustment `pulumi:"stepAdjustments"`
}

“StepScalingPolicyConfiguration“ is a property of the [AWS::ApplicationAutoScaling::ScalingPolicy](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-applicationautoscaling-scalingpolicy.html) resource that specifies a step scaling policy configuration for Application Auto Scaling.

For more information, see [Step scaling policies](https://docs.aws.amazon.com/autoscaling/application/userguide/application-auto-scaling-step-scaling-policies.html) in the *Application Auto Scaling User Guide*.

type ScalingPolicyStepScalingPolicyConfigurationArgs

type ScalingPolicyStepScalingPolicyConfigurationArgs struct {
	// Specifies whether the “ScalingAdjustment“ value in the “StepAdjustment“ property is an absolute number or a percentage of the current capacity.
	AdjustmentType pulumi.StringPtrInput `pulumi:"adjustmentType"`
	// The amount of time, in seconds, to wait for a previous scaling activity to take effect. If not specified, the default value is 300. For more information, see [Cooldown period](https://docs.aws.amazon.com/autoscaling/application/userguide/step-scaling-policy-overview.html#step-scaling-cooldown) in the *Application Auto Scaling User Guide*.
	Cooldown pulumi.IntPtrInput `pulumi:"cooldown"`
	// The aggregation type for the CloudWatch metrics. Valid values are “Minimum“, “Maximum“, and “Average“. If the aggregation type is null, the value is treated as “Average“.
	MetricAggregationType pulumi.StringPtrInput `pulumi:"metricAggregationType"`
	// The minimum value to scale by when the adjustment type is “PercentChangeInCapacity“. For example, suppose that you create a step scaling policy to scale out an Amazon ECS service by 25 percent and you specify a “MinAdjustmentMagnitude“ of 2. If the service has 4 tasks and the scaling policy is performed, 25 percent of 4 is 1. However, because you specified a “MinAdjustmentMagnitude“ of 2, Application Auto Scaling scales out the service by 2 tasks.
	MinAdjustmentMagnitude pulumi.IntPtrInput `pulumi:"minAdjustmentMagnitude"`
	// A set of adjustments that enable you to scale based on the size of the alarm breach.
	//  At least one step adjustment is required if you are adding a new step scaling policy configuration.
	StepAdjustments ScalingPolicyStepAdjustmentArrayInput `pulumi:"stepAdjustments"`
}

“StepScalingPolicyConfiguration“ is a property of the [AWS::ApplicationAutoScaling::ScalingPolicy](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-applicationautoscaling-scalingpolicy.html) resource that specifies a step scaling policy configuration for Application Auto Scaling.

For more information, see [Step scaling policies](https://docs.aws.amazon.com/autoscaling/application/userguide/application-auto-scaling-step-scaling-policies.html) in the *Application Auto Scaling User Guide*.

func (ScalingPolicyStepScalingPolicyConfigurationArgs) ElementType

func (ScalingPolicyStepScalingPolicyConfigurationArgs) ToScalingPolicyStepScalingPolicyConfigurationOutput

func (i ScalingPolicyStepScalingPolicyConfigurationArgs) ToScalingPolicyStepScalingPolicyConfigurationOutput() ScalingPolicyStepScalingPolicyConfigurationOutput

func (ScalingPolicyStepScalingPolicyConfigurationArgs) ToScalingPolicyStepScalingPolicyConfigurationOutputWithContext

func (i ScalingPolicyStepScalingPolicyConfigurationArgs) ToScalingPolicyStepScalingPolicyConfigurationOutputWithContext(ctx context.Context) ScalingPolicyStepScalingPolicyConfigurationOutput

func (ScalingPolicyStepScalingPolicyConfigurationArgs) ToScalingPolicyStepScalingPolicyConfigurationPtrOutput

func (i ScalingPolicyStepScalingPolicyConfigurationArgs) ToScalingPolicyStepScalingPolicyConfigurationPtrOutput() ScalingPolicyStepScalingPolicyConfigurationPtrOutput

func (ScalingPolicyStepScalingPolicyConfigurationArgs) ToScalingPolicyStepScalingPolicyConfigurationPtrOutputWithContext

func (i ScalingPolicyStepScalingPolicyConfigurationArgs) ToScalingPolicyStepScalingPolicyConfigurationPtrOutputWithContext(ctx context.Context) ScalingPolicyStepScalingPolicyConfigurationPtrOutput

type ScalingPolicyStepScalingPolicyConfigurationInput

type ScalingPolicyStepScalingPolicyConfigurationInput interface {
	pulumi.Input

	ToScalingPolicyStepScalingPolicyConfigurationOutput() ScalingPolicyStepScalingPolicyConfigurationOutput
	ToScalingPolicyStepScalingPolicyConfigurationOutputWithContext(context.Context) ScalingPolicyStepScalingPolicyConfigurationOutput
}

ScalingPolicyStepScalingPolicyConfigurationInput is an input type that accepts ScalingPolicyStepScalingPolicyConfigurationArgs and ScalingPolicyStepScalingPolicyConfigurationOutput values. You can construct a concrete instance of `ScalingPolicyStepScalingPolicyConfigurationInput` via:

ScalingPolicyStepScalingPolicyConfigurationArgs{...}

type ScalingPolicyStepScalingPolicyConfigurationOutput

type ScalingPolicyStepScalingPolicyConfigurationOutput struct{ *pulumi.OutputState }

“StepScalingPolicyConfiguration“ is a property of the [AWS::ApplicationAutoScaling::ScalingPolicy](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-applicationautoscaling-scalingpolicy.html) resource that specifies a step scaling policy configuration for Application Auto Scaling.

For more information, see [Step scaling policies](https://docs.aws.amazon.com/autoscaling/application/userguide/application-auto-scaling-step-scaling-policies.html) in the *Application Auto Scaling User Guide*.

func (ScalingPolicyStepScalingPolicyConfigurationOutput) AdjustmentType

Specifies whether the “ScalingAdjustment“ value in the “StepAdjustment“ property is an absolute number or a percentage of the current capacity.

func (ScalingPolicyStepScalingPolicyConfigurationOutput) Cooldown

The amount of time, in seconds, to wait for a previous scaling activity to take effect. If not specified, the default value is 300. For more information, see [Cooldown period](https://docs.aws.amazon.com/autoscaling/application/userguide/step-scaling-policy-overview.html#step-scaling-cooldown) in the *Application Auto Scaling User Guide*.

func (ScalingPolicyStepScalingPolicyConfigurationOutput) ElementType

func (ScalingPolicyStepScalingPolicyConfigurationOutput) MetricAggregationType

The aggregation type for the CloudWatch metrics. Valid values are “Minimum“, “Maximum“, and “Average“. If the aggregation type is null, the value is treated as “Average“.

func (ScalingPolicyStepScalingPolicyConfigurationOutput) MinAdjustmentMagnitude

The minimum value to scale by when the adjustment type is “PercentChangeInCapacity“. For example, suppose that you create a step scaling policy to scale out an Amazon ECS service by 25 percent and you specify a “MinAdjustmentMagnitude“ of 2. If the service has 4 tasks and the scaling policy is performed, 25 percent of 4 is 1. However, because you specified a “MinAdjustmentMagnitude“ of 2, Application Auto Scaling scales out the service by 2 tasks.

func (ScalingPolicyStepScalingPolicyConfigurationOutput) StepAdjustments

A set of adjustments that enable you to scale based on the size of the alarm breach.

At least one step adjustment is required if you are adding a new step scaling policy configuration.

func (ScalingPolicyStepScalingPolicyConfigurationOutput) ToScalingPolicyStepScalingPolicyConfigurationOutput

func (o ScalingPolicyStepScalingPolicyConfigurationOutput) ToScalingPolicyStepScalingPolicyConfigurationOutput() ScalingPolicyStepScalingPolicyConfigurationOutput

func (ScalingPolicyStepScalingPolicyConfigurationOutput) ToScalingPolicyStepScalingPolicyConfigurationOutputWithContext

func (o ScalingPolicyStepScalingPolicyConfigurationOutput) ToScalingPolicyStepScalingPolicyConfigurationOutputWithContext(ctx context.Context) ScalingPolicyStepScalingPolicyConfigurationOutput

func (ScalingPolicyStepScalingPolicyConfigurationOutput) ToScalingPolicyStepScalingPolicyConfigurationPtrOutput

func (o ScalingPolicyStepScalingPolicyConfigurationOutput) ToScalingPolicyStepScalingPolicyConfigurationPtrOutput() ScalingPolicyStepScalingPolicyConfigurationPtrOutput

func (ScalingPolicyStepScalingPolicyConfigurationOutput) ToScalingPolicyStepScalingPolicyConfigurationPtrOutputWithContext

func (o ScalingPolicyStepScalingPolicyConfigurationOutput) ToScalingPolicyStepScalingPolicyConfigurationPtrOutputWithContext(ctx context.Context) ScalingPolicyStepScalingPolicyConfigurationPtrOutput

type ScalingPolicyStepScalingPolicyConfigurationPtrInput

type ScalingPolicyStepScalingPolicyConfigurationPtrInput interface {
	pulumi.Input

	ToScalingPolicyStepScalingPolicyConfigurationPtrOutput() ScalingPolicyStepScalingPolicyConfigurationPtrOutput
	ToScalingPolicyStepScalingPolicyConfigurationPtrOutputWithContext(context.Context) ScalingPolicyStepScalingPolicyConfigurationPtrOutput
}

ScalingPolicyStepScalingPolicyConfigurationPtrInput is an input type that accepts ScalingPolicyStepScalingPolicyConfigurationArgs, ScalingPolicyStepScalingPolicyConfigurationPtr and ScalingPolicyStepScalingPolicyConfigurationPtrOutput values. You can construct a concrete instance of `ScalingPolicyStepScalingPolicyConfigurationPtrInput` via:

        ScalingPolicyStepScalingPolicyConfigurationArgs{...}

or:

        nil

type ScalingPolicyStepScalingPolicyConfigurationPtrOutput

type ScalingPolicyStepScalingPolicyConfigurationPtrOutput struct{ *pulumi.OutputState }

func (ScalingPolicyStepScalingPolicyConfigurationPtrOutput) AdjustmentType

Specifies whether the “ScalingAdjustment“ value in the “StepAdjustment“ property is an absolute number or a percentage of the current capacity.

func (ScalingPolicyStepScalingPolicyConfigurationPtrOutput) Cooldown

The amount of time, in seconds, to wait for a previous scaling activity to take effect. If not specified, the default value is 300. For more information, see [Cooldown period](https://docs.aws.amazon.com/autoscaling/application/userguide/step-scaling-policy-overview.html#step-scaling-cooldown) in the *Application Auto Scaling User Guide*.

func (ScalingPolicyStepScalingPolicyConfigurationPtrOutput) Elem

func (ScalingPolicyStepScalingPolicyConfigurationPtrOutput) ElementType

func (ScalingPolicyStepScalingPolicyConfigurationPtrOutput) MetricAggregationType

The aggregation type for the CloudWatch metrics. Valid values are “Minimum“, “Maximum“, and “Average“. If the aggregation type is null, the value is treated as “Average“.

func (ScalingPolicyStepScalingPolicyConfigurationPtrOutput) MinAdjustmentMagnitude

The minimum value to scale by when the adjustment type is “PercentChangeInCapacity“. For example, suppose that you create a step scaling policy to scale out an Amazon ECS service by 25 percent and you specify a “MinAdjustmentMagnitude“ of 2. If the service has 4 tasks and the scaling policy is performed, 25 percent of 4 is 1. However, because you specified a “MinAdjustmentMagnitude“ of 2, Application Auto Scaling scales out the service by 2 tasks.

func (ScalingPolicyStepScalingPolicyConfigurationPtrOutput) StepAdjustments

A set of adjustments that enable you to scale based on the size of the alarm breach.

At least one step adjustment is required if you are adding a new step scaling policy configuration.

func (ScalingPolicyStepScalingPolicyConfigurationPtrOutput) ToScalingPolicyStepScalingPolicyConfigurationPtrOutput

func (ScalingPolicyStepScalingPolicyConfigurationPtrOutput) ToScalingPolicyStepScalingPolicyConfigurationPtrOutputWithContext

func (o ScalingPolicyStepScalingPolicyConfigurationPtrOutput) ToScalingPolicyStepScalingPolicyConfigurationPtrOutputWithContext(ctx context.Context) ScalingPolicyStepScalingPolicyConfigurationPtrOutput

type ScalingPolicyTargetTrackingMetric added in v0.85.0

type ScalingPolicyTargetTrackingMetric struct {
	// The dimensions for the metric. For the list of available dimensions, see the AWS documentation available from the table in [services that publish CloudWatch metrics](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/aws-services-cloudwatch-metrics.html) in the *Amazon CloudWatch User Guide*.
	//  Conditional: If you published your metric with dimensions, you must specify the same dimensions in your scaling policy.
	Dimensions []ScalingPolicyTargetTrackingMetricDimension `pulumi:"dimensions"`
	// The name of the metric.
	MetricName *string `pulumi:"metricName"`
	// The namespace of the metric. For more information, see the table in [services that publish CloudWatch metrics](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/aws-services-cloudwatch-metrics.html) in the *Amazon CloudWatch User Guide*.
	Namespace *string `pulumi:"namespace"`
}

Represents a specific metric for a target tracking scaling policy for Application Auto Scaling.

Metric is a property of the [AWS::ApplicationAutoScaling::ScalingPolicy TargetTrackingMetricStat](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationautoscaling-scalingpolicy-targettrackingmetricstat.html) property type.

type ScalingPolicyTargetTrackingMetricArgs added in v0.85.0

type ScalingPolicyTargetTrackingMetricArgs struct {
	// The dimensions for the metric. For the list of available dimensions, see the AWS documentation available from the table in [services that publish CloudWatch metrics](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/aws-services-cloudwatch-metrics.html) in the *Amazon CloudWatch User Guide*.
	//  Conditional: If you published your metric with dimensions, you must specify the same dimensions in your scaling policy.
	Dimensions ScalingPolicyTargetTrackingMetricDimensionArrayInput `pulumi:"dimensions"`
	// The name of the metric.
	MetricName pulumi.StringPtrInput `pulumi:"metricName"`
	// The namespace of the metric. For more information, see the table in [services that publish CloudWatch metrics](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/aws-services-cloudwatch-metrics.html) in the *Amazon CloudWatch User Guide*.
	Namespace pulumi.StringPtrInput `pulumi:"namespace"`
}

Represents a specific metric for a target tracking scaling policy for Application Auto Scaling.

Metric is a property of the [AWS::ApplicationAutoScaling::ScalingPolicy TargetTrackingMetricStat](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationautoscaling-scalingpolicy-targettrackingmetricstat.html) property type.

func (ScalingPolicyTargetTrackingMetricArgs) ElementType added in v0.85.0

func (ScalingPolicyTargetTrackingMetricArgs) ToScalingPolicyTargetTrackingMetricOutput added in v0.85.0

func (i ScalingPolicyTargetTrackingMetricArgs) ToScalingPolicyTargetTrackingMetricOutput() ScalingPolicyTargetTrackingMetricOutput

func (ScalingPolicyTargetTrackingMetricArgs) ToScalingPolicyTargetTrackingMetricOutputWithContext added in v0.85.0

func (i ScalingPolicyTargetTrackingMetricArgs) ToScalingPolicyTargetTrackingMetricOutputWithContext(ctx context.Context) ScalingPolicyTargetTrackingMetricOutput

func (ScalingPolicyTargetTrackingMetricArgs) ToScalingPolicyTargetTrackingMetricPtrOutput added in v0.85.0

func (i ScalingPolicyTargetTrackingMetricArgs) ToScalingPolicyTargetTrackingMetricPtrOutput() ScalingPolicyTargetTrackingMetricPtrOutput

func (ScalingPolicyTargetTrackingMetricArgs) ToScalingPolicyTargetTrackingMetricPtrOutputWithContext added in v0.85.0

func (i ScalingPolicyTargetTrackingMetricArgs) ToScalingPolicyTargetTrackingMetricPtrOutputWithContext(ctx context.Context) ScalingPolicyTargetTrackingMetricPtrOutput

type ScalingPolicyTargetTrackingMetricDataQuery added in v0.85.0

type ScalingPolicyTargetTrackingMetricDataQuery struct {
	// The math expression to perform on the returned data, if this object is performing a math expression. This expression can use the “Id“ of the other metrics to refer to those metrics, and can also use the “Id“ of other expressions to use the result of those expressions.
	//  Conditional: Within each “TargetTrackingMetricDataQuery“ object, you must specify either “Expression“ or “MetricStat“, but not both.
	Expression *string `pulumi:"expression"`
	// A short name that identifies the object's results in the response. This name must be unique among all “MetricDataQuery“ objects specified for a single scaling policy. If you are performing math expressions on this set of data, this name represents that data and can serve as a variable in the mathematical expression. The valid characters are letters, numbers, and underscores. The first character must be a lowercase letter.
	Id *string `pulumi:"id"`
	// A human-readable label for this metric or expression. This is especially useful if this is a math expression, so that you know what the value represents.
	Label *string `pulumi:"label"`
	// Information about the metric data to return.
	//  Conditional: Within each “MetricDataQuery“ object, you must specify either “Expression“ or “MetricStat“, but not both.
	MetricStat *ScalingPolicyTargetTrackingMetricStat `pulumi:"metricStat"`
	// Indicates whether to return the timestamps and raw data values of this metric.
	//  If you use any math expressions, specify “true“ for this value for only the final math expression that the metric specification is based on. You must specify “false“ for “ReturnData“ for all the other metrics and expressions used in the metric specification.
	//  If you are only retrieving metrics and not performing any math expressions, do not specify anything for “ReturnData“. This sets it to its default (“true“).
	ReturnData *bool `pulumi:"returnData"`
}

The metric data to return. Also defines whether this call is returning data for one metric only, or whether it is performing a math expression on the values of returned metric statistics to create a new time series. A time series is a series of data points, each of which is associated with a timestamp.

You can call for a single metric or perform math expressions on multiple metrics. Any expressions used in a metric specification must eventually return a single time series.
For more information and examples, see [Create a target tracking scaling policy for Application Auto Scaling using metric math](https://docs.aws.amazon.com/autoscaling/application/userguide/application-auto-scaling-target-tracking-metric-math.html) in the *Application Auto Scaling User Guide*.
 ``TargetTrackingMetricDataQuery`` is a property of the [AWS::ApplicationAutoScaling::ScalingPolicy CustomizedMetricSpecification](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationautoscaling-scalingpolicy-customizedmetricspecification.html) property type.

type ScalingPolicyTargetTrackingMetricDataQueryArgs added in v0.85.0

type ScalingPolicyTargetTrackingMetricDataQueryArgs struct {
	// The math expression to perform on the returned data, if this object is performing a math expression. This expression can use the “Id“ of the other metrics to refer to those metrics, and can also use the “Id“ of other expressions to use the result of those expressions.
	//  Conditional: Within each “TargetTrackingMetricDataQuery“ object, you must specify either “Expression“ or “MetricStat“, but not both.
	Expression pulumi.StringPtrInput `pulumi:"expression"`
	// A short name that identifies the object's results in the response. This name must be unique among all “MetricDataQuery“ objects specified for a single scaling policy. If you are performing math expressions on this set of data, this name represents that data and can serve as a variable in the mathematical expression. The valid characters are letters, numbers, and underscores. The first character must be a lowercase letter.
	Id pulumi.StringPtrInput `pulumi:"id"`
	// A human-readable label for this metric or expression. This is especially useful if this is a math expression, so that you know what the value represents.
	Label pulumi.StringPtrInput `pulumi:"label"`
	// Information about the metric data to return.
	//  Conditional: Within each “MetricDataQuery“ object, you must specify either “Expression“ or “MetricStat“, but not both.
	MetricStat ScalingPolicyTargetTrackingMetricStatPtrInput `pulumi:"metricStat"`
	// Indicates whether to return the timestamps and raw data values of this metric.
	//  If you use any math expressions, specify “true“ for this value for only the final math expression that the metric specification is based on. You must specify “false“ for “ReturnData“ for all the other metrics and expressions used in the metric specification.
	//  If you are only retrieving metrics and not performing any math expressions, do not specify anything for “ReturnData“. This sets it to its default (“true“).
	ReturnData pulumi.BoolPtrInput `pulumi:"returnData"`
}

The metric data to return. Also defines whether this call is returning data for one metric only, or whether it is performing a math expression on the values of returned metric statistics to create a new time series. A time series is a series of data points, each of which is associated with a timestamp.

You can call for a single metric or perform math expressions on multiple metrics. Any expressions used in a metric specification must eventually return a single time series.
For more information and examples, see [Create a target tracking scaling policy for Application Auto Scaling using metric math](https://docs.aws.amazon.com/autoscaling/application/userguide/application-auto-scaling-target-tracking-metric-math.html) in the *Application Auto Scaling User Guide*.
 ``TargetTrackingMetricDataQuery`` is a property of the [AWS::ApplicationAutoScaling::ScalingPolicy CustomizedMetricSpecification](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationautoscaling-scalingpolicy-customizedmetricspecification.html) property type.

func (ScalingPolicyTargetTrackingMetricDataQueryArgs) ElementType added in v0.85.0

func (ScalingPolicyTargetTrackingMetricDataQueryArgs) ToScalingPolicyTargetTrackingMetricDataQueryOutput added in v0.85.0

func (i ScalingPolicyTargetTrackingMetricDataQueryArgs) ToScalingPolicyTargetTrackingMetricDataQueryOutput() ScalingPolicyTargetTrackingMetricDataQueryOutput

func (ScalingPolicyTargetTrackingMetricDataQueryArgs) ToScalingPolicyTargetTrackingMetricDataQueryOutputWithContext added in v0.85.0

func (i ScalingPolicyTargetTrackingMetricDataQueryArgs) ToScalingPolicyTargetTrackingMetricDataQueryOutputWithContext(ctx context.Context) ScalingPolicyTargetTrackingMetricDataQueryOutput

type ScalingPolicyTargetTrackingMetricDataQueryArray added in v0.85.0

type ScalingPolicyTargetTrackingMetricDataQueryArray []ScalingPolicyTargetTrackingMetricDataQueryInput

func (ScalingPolicyTargetTrackingMetricDataQueryArray) ElementType added in v0.85.0

func (ScalingPolicyTargetTrackingMetricDataQueryArray) ToScalingPolicyTargetTrackingMetricDataQueryArrayOutput added in v0.85.0

func (i ScalingPolicyTargetTrackingMetricDataQueryArray) ToScalingPolicyTargetTrackingMetricDataQueryArrayOutput() ScalingPolicyTargetTrackingMetricDataQueryArrayOutput

func (ScalingPolicyTargetTrackingMetricDataQueryArray) ToScalingPolicyTargetTrackingMetricDataQueryArrayOutputWithContext added in v0.85.0

func (i ScalingPolicyTargetTrackingMetricDataQueryArray) ToScalingPolicyTargetTrackingMetricDataQueryArrayOutputWithContext(ctx context.Context) ScalingPolicyTargetTrackingMetricDataQueryArrayOutput

type ScalingPolicyTargetTrackingMetricDataQueryArrayInput added in v0.85.0

type ScalingPolicyTargetTrackingMetricDataQueryArrayInput interface {
	pulumi.Input

	ToScalingPolicyTargetTrackingMetricDataQueryArrayOutput() ScalingPolicyTargetTrackingMetricDataQueryArrayOutput
	ToScalingPolicyTargetTrackingMetricDataQueryArrayOutputWithContext(context.Context) ScalingPolicyTargetTrackingMetricDataQueryArrayOutput
}

ScalingPolicyTargetTrackingMetricDataQueryArrayInput is an input type that accepts ScalingPolicyTargetTrackingMetricDataQueryArray and ScalingPolicyTargetTrackingMetricDataQueryArrayOutput values. You can construct a concrete instance of `ScalingPolicyTargetTrackingMetricDataQueryArrayInput` via:

ScalingPolicyTargetTrackingMetricDataQueryArray{ ScalingPolicyTargetTrackingMetricDataQueryArgs{...} }

type ScalingPolicyTargetTrackingMetricDataQueryArrayOutput added in v0.85.0

type ScalingPolicyTargetTrackingMetricDataQueryArrayOutput struct{ *pulumi.OutputState }

func (ScalingPolicyTargetTrackingMetricDataQueryArrayOutput) ElementType added in v0.85.0

func (ScalingPolicyTargetTrackingMetricDataQueryArrayOutput) Index added in v0.85.0

func (ScalingPolicyTargetTrackingMetricDataQueryArrayOutput) ToScalingPolicyTargetTrackingMetricDataQueryArrayOutput added in v0.85.0

func (ScalingPolicyTargetTrackingMetricDataQueryArrayOutput) ToScalingPolicyTargetTrackingMetricDataQueryArrayOutputWithContext added in v0.85.0

func (o ScalingPolicyTargetTrackingMetricDataQueryArrayOutput) ToScalingPolicyTargetTrackingMetricDataQueryArrayOutputWithContext(ctx context.Context) ScalingPolicyTargetTrackingMetricDataQueryArrayOutput

type ScalingPolicyTargetTrackingMetricDataQueryInput added in v0.85.0

type ScalingPolicyTargetTrackingMetricDataQueryInput interface {
	pulumi.Input

	ToScalingPolicyTargetTrackingMetricDataQueryOutput() ScalingPolicyTargetTrackingMetricDataQueryOutput
	ToScalingPolicyTargetTrackingMetricDataQueryOutputWithContext(context.Context) ScalingPolicyTargetTrackingMetricDataQueryOutput
}

ScalingPolicyTargetTrackingMetricDataQueryInput is an input type that accepts ScalingPolicyTargetTrackingMetricDataQueryArgs and ScalingPolicyTargetTrackingMetricDataQueryOutput values. You can construct a concrete instance of `ScalingPolicyTargetTrackingMetricDataQueryInput` via:

ScalingPolicyTargetTrackingMetricDataQueryArgs{...}

type ScalingPolicyTargetTrackingMetricDataQueryOutput added in v0.85.0

type ScalingPolicyTargetTrackingMetricDataQueryOutput struct{ *pulumi.OutputState }

The metric data to return. Also defines whether this call is returning data for one metric only, or whether it is performing a math expression on the values of returned metric statistics to create a new time series. A time series is a series of data points, each of which is associated with a timestamp.

You can call for a single metric or perform math expressions on multiple metrics. Any expressions used in a metric specification must eventually return a single time series.
For more information and examples, see [Create a target tracking scaling policy for Application Auto Scaling using metric math](https://docs.aws.amazon.com/autoscaling/application/userguide/application-auto-scaling-target-tracking-metric-math.html) in the *Application Auto Scaling User Guide*.
 ``TargetTrackingMetricDataQuery`` is a property of the [AWS::ApplicationAutoScaling::ScalingPolicy CustomizedMetricSpecification](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationautoscaling-scalingpolicy-customizedmetricspecification.html) property type.

func (ScalingPolicyTargetTrackingMetricDataQueryOutput) ElementType added in v0.85.0

func (ScalingPolicyTargetTrackingMetricDataQueryOutput) Expression added in v0.85.0

The math expression to perform on the returned data, if this object is performing a math expression. This expression can use the “Id“ of the other metrics to refer to those metrics, and can also use the “Id“ of other expressions to use the result of those expressions.

Conditional: Within each ``TargetTrackingMetricDataQuery`` object, you must specify either ``Expression`` or ``MetricStat``, but not both.

func (ScalingPolicyTargetTrackingMetricDataQueryOutput) Id added in v0.85.0

A short name that identifies the object's results in the response. This name must be unique among all “MetricDataQuery“ objects specified for a single scaling policy. If you are performing math expressions on this set of data, this name represents that data and can serve as a variable in the mathematical expression. The valid characters are letters, numbers, and underscores. The first character must be a lowercase letter.

func (ScalingPolicyTargetTrackingMetricDataQueryOutput) Label added in v0.85.0

A human-readable label for this metric or expression. This is especially useful if this is a math expression, so that you know what the value represents.

func (ScalingPolicyTargetTrackingMetricDataQueryOutput) MetricStat added in v0.85.0

Information about the metric data to return.

Conditional: Within each ``MetricDataQuery`` object, you must specify either ``Expression`` or ``MetricStat``, but not both.

func (ScalingPolicyTargetTrackingMetricDataQueryOutput) ReturnData added in v0.85.0

Indicates whether to return the timestamps and raw data values of this metric.

If you use any math expressions, specify ``true`` for this value for only the final math expression that the metric specification is based on. You must specify ``false`` for ``ReturnData`` for all the other metrics and expressions used in the metric specification.
If you are only retrieving metrics and not performing any math expressions, do not specify anything for ``ReturnData``. This sets it to its default (``true``).

func (ScalingPolicyTargetTrackingMetricDataQueryOutput) ToScalingPolicyTargetTrackingMetricDataQueryOutput added in v0.85.0

func (o ScalingPolicyTargetTrackingMetricDataQueryOutput) ToScalingPolicyTargetTrackingMetricDataQueryOutput() ScalingPolicyTargetTrackingMetricDataQueryOutput

func (ScalingPolicyTargetTrackingMetricDataQueryOutput) ToScalingPolicyTargetTrackingMetricDataQueryOutputWithContext added in v0.85.0

func (o ScalingPolicyTargetTrackingMetricDataQueryOutput) ToScalingPolicyTargetTrackingMetricDataQueryOutputWithContext(ctx context.Context) ScalingPolicyTargetTrackingMetricDataQueryOutput

type ScalingPolicyTargetTrackingMetricDimension added in v0.85.0

type ScalingPolicyTargetTrackingMetricDimension struct {
	// The name of the dimension.
	Name *string `pulumi:"name"`
	// The value of the dimension.
	Value *string `pulumi:"value"`
}

“TargetTrackingMetricDimension“ specifies a name/value pair that is part of the identity of a CloudWatch metric for the “Dimensions“ property of the [AWS::ApplicationAutoScaling::ScalingPolicy TargetTrackingMetric](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationautoscaling-scalingpolicy-targettrackingmetric.html) property type. Duplicate dimensions are not allowed.

type ScalingPolicyTargetTrackingMetricDimensionArgs added in v0.85.0

type ScalingPolicyTargetTrackingMetricDimensionArgs struct {
	// The name of the dimension.
	Name pulumi.StringPtrInput `pulumi:"name"`
	// The value of the dimension.
	Value pulumi.StringPtrInput `pulumi:"value"`
}

“TargetTrackingMetricDimension“ specifies a name/value pair that is part of the identity of a CloudWatch metric for the “Dimensions“ property of the [AWS::ApplicationAutoScaling::ScalingPolicy TargetTrackingMetric](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationautoscaling-scalingpolicy-targettrackingmetric.html) property type. Duplicate dimensions are not allowed.

func (ScalingPolicyTargetTrackingMetricDimensionArgs) ElementType added in v0.85.0

func (ScalingPolicyTargetTrackingMetricDimensionArgs) ToScalingPolicyTargetTrackingMetricDimensionOutput added in v0.85.0

func (i ScalingPolicyTargetTrackingMetricDimensionArgs) ToScalingPolicyTargetTrackingMetricDimensionOutput() ScalingPolicyTargetTrackingMetricDimensionOutput

func (ScalingPolicyTargetTrackingMetricDimensionArgs) ToScalingPolicyTargetTrackingMetricDimensionOutputWithContext added in v0.85.0

func (i ScalingPolicyTargetTrackingMetricDimensionArgs) ToScalingPolicyTargetTrackingMetricDimensionOutputWithContext(ctx context.Context) ScalingPolicyTargetTrackingMetricDimensionOutput

type ScalingPolicyTargetTrackingMetricDimensionArray added in v0.85.0

type ScalingPolicyTargetTrackingMetricDimensionArray []ScalingPolicyTargetTrackingMetricDimensionInput

func (ScalingPolicyTargetTrackingMetricDimensionArray) ElementType added in v0.85.0

func (ScalingPolicyTargetTrackingMetricDimensionArray) ToScalingPolicyTargetTrackingMetricDimensionArrayOutput added in v0.85.0

func (i ScalingPolicyTargetTrackingMetricDimensionArray) ToScalingPolicyTargetTrackingMetricDimensionArrayOutput() ScalingPolicyTargetTrackingMetricDimensionArrayOutput

func (ScalingPolicyTargetTrackingMetricDimensionArray) ToScalingPolicyTargetTrackingMetricDimensionArrayOutputWithContext added in v0.85.0

func (i ScalingPolicyTargetTrackingMetricDimensionArray) ToScalingPolicyTargetTrackingMetricDimensionArrayOutputWithContext(ctx context.Context) ScalingPolicyTargetTrackingMetricDimensionArrayOutput

type ScalingPolicyTargetTrackingMetricDimensionArrayInput added in v0.85.0

type ScalingPolicyTargetTrackingMetricDimensionArrayInput interface {
	pulumi.Input

	ToScalingPolicyTargetTrackingMetricDimensionArrayOutput() ScalingPolicyTargetTrackingMetricDimensionArrayOutput
	ToScalingPolicyTargetTrackingMetricDimensionArrayOutputWithContext(context.Context) ScalingPolicyTargetTrackingMetricDimensionArrayOutput
}

ScalingPolicyTargetTrackingMetricDimensionArrayInput is an input type that accepts ScalingPolicyTargetTrackingMetricDimensionArray and ScalingPolicyTargetTrackingMetricDimensionArrayOutput values. You can construct a concrete instance of `ScalingPolicyTargetTrackingMetricDimensionArrayInput` via:

ScalingPolicyTargetTrackingMetricDimensionArray{ ScalingPolicyTargetTrackingMetricDimensionArgs{...} }

type ScalingPolicyTargetTrackingMetricDimensionArrayOutput added in v0.85.0

type ScalingPolicyTargetTrackingMetricDimensionArrayOutput struct{ *pulumi.OutputState }

func (ScalingPolicyTargetTrackingMetricDimensionArrayOutput) ElementType added in v0.85.0

func (ScalingPolicyTargetTrackingMetricDimensionArrayOutput) Index added in v0.85.0

func (ScalingPolicyTargetTrackingMetricDimensionArrayOutput) ToScalingPolicyTargetTrackingMetricDimensionArrayOutput added in v0.85.0

func (ScalingPolicyTargetTrackingMetricDimensionArrayOutput) ToScalingPolicyTargetTrackingMetricDimensionArrayOutputWithContext added in v0.85.0

func (o ScalingPolicyTargetTrackingMetricDimensionArrayOutput) ToScalingPolicyTargetTrackingMetricDimensionArrayOutputWithContext(ctx context.Context) ScalingPolicyTargetTrackingMetricDimensionArrayOutput

type ScalingPolicyTargetTrackingMetricDimensionInput added in v0.85.0

type ScalingPolicyTargetTrackingMetricDimensionInput interface {
	pulumi.Input

	ToScalingPolicyTargetTrackingMetricDimensionOutput() ScalingPolicyTargetTrackingMetricDimensionOutput
	ToScalingPolicyTargetTrackingMetricDimensionOutputWithContext(context.Context) ScalingPolicyTargetTrackingMetricDimensionOutput
}

ScalingPolicyTargetTrackingMetricDimensionInput is an input type that accepts ScalingPolicyTargetTrackingMetricDimensionArgs and ScalingPolicyTargetTrackingMetricDimensionOutput values. You can construct a concrete instance of `ScalingPolicyTargetTrackingMetricDimensionInput` via:

ScalingPolicyTargetTrackingMetricDimensionArgs{...}

type ScalingPolicyTargetTrackingMetricDimensionOutput added in v0.85.0

type ScalingPolicyTargetTrackingMetricDimensionOutput struct{ *pulumi.OutputState }

“TargetTrackingMetricDimension“ specifies a name/value pair that is part of the identity of a CloudWatch metric for the “Dimensions“ property of the [AWS::ApplicationAutoScaling::ScalingPolicy TargetTrackingMetric](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationautoscaling-scalingpolicy-targettrackingmetric.html) property type. Duplicate dimensions are not allowed.

func (ScalingPolicyTargetTrackingMetricDimensionOutput) ElementType added in v0.85.0

func (ScalingPolicyTargetTrackingMetricDimensionOutput) Name added in v0.85.0

The name of the dimension.

func (ScalingPolicyTargetTrackingMetricDimensionOutput) ToScalingPolicyTargetTrackingMetricDimensionOutput added in v0.85.0

func (o ScalingPolicyTargetTrackingMetricDimensionOutput) ToScalingPolicyTargetTrackingMetricDimensionOutput() ScalingPolicyTargetTrackingMetricDimensionOutput

func (ScalingPolicyTargetTrackingMetricDimensionOutput) ToScalingPolicyTargetTrackingMetricDimensionOutputWithContext added in v0.85.0

func (o ScalingPolicyTargetTrackingMetricDimensionOutput) ToScalingPolicyTargetTrackingMetricDimensionOutputWithContext(ctx context.Context) ScalingPolicyTargetTrackingMetricDimensionOutput

func (ScalingPolicyTargetTrackingMetricDimensionOutput) Value added in v0.85.0

The value of the dimension.

type ScalingPolicyTargetTrackingMetricInput added in v0.85.0

type ScalingPolicyTargetTrackingMetricInput interface {
	pulumi.Input

	ToScalingPolicyTargetTrackingMetricOutput() ScalingPolicyTargetTrackingMetricOutput
	ToScalingPolicyTargetTrackingMetricOutputWithContext(context.Context) ScalingPolicyTargetTrackingMetricOutput
}

ScalingPolicyTargetTrackingMetricInput is an input type that accepts ScalingPolicyTargetTrackingMetricArgs and ScalingPolicyTargetTrackingMetricOutput values. You can construct a concrete instance of `ScalingPolicyTargetTrackingMetricInput` via:

ScalingPolicyTargetTrackingMetricArgs{...}

type ScalingPolicyTargetTrackingMetricOutput added in v0.85.0

type ScalingPolicyTargetTrackingMetricOutput struct{ *pulumi.OutputState }

Represents a specific metric for a target tracking scaling policy for Application Auto Scaling.

Metric is a property of the [AWS::ApplicationAutoScaling::ScalingPolicy TargetTrackingMetricStat](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationautoscaling-scalingpolicy-targettrackingmetricstat.html) property type.

func (ScalingPolicyTargetTrackingMetricOutput) Dimensions added in v0.85.0

The dimensions for the metric. For the list of available dimensions, see the AWS documentation available from the table in [services that publish CloudWatch metrics](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/aws-services-cloudwatch-metrics.html) in the *Amazon CloudWatch User Guide*.

Conditional: If you published your metric with dimensions, you must specify the same dimensions in your scaling policy.

func (ScalingPolicyTargetTrackingMetricOutput) ElementType added in v0.85.0

func (ScalingPolicyTargetTrackingMetricOutput) MetricName added in v0.85.0

The name of the metric.

func (ScalingPolicyTargetTrackingMetricOutput) Namespace added in v0.85.0

The namespace of the metric. For more information, see the table in [services that publish CloudWatch metrics](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/aws-services-cloudwatch-metrics.html) in the *Amazon CloudWatch User Guide*.

func (ScalingPolicyTargetTrackingMetricOutput) ToScalingPolicyTargetTrackingMetricOutput added in v0.85.0

func (o ScalingPolicyTargetTrackingMetricOutput) ToScalingPolicyTargetTrackingMetricOutput() ScalingPolicyTargetTrackingMetricOutput

func (ScalingPolicyTargetTrackingMetricOutput) ToScalingPolicyTargetTrackingMetricOutputWithContext added in v0.85.0

func (o ScalingPolicyTargetTrackingMetricOutput) ToScalingPolicyTargetTrackingMetricOutputWithContext(ctx context.Context) ScalingPolicyTargetTrackingMetricOutput

func (ScalingPolicyTargetTrackingMetricOutput) ToScalingPolicyTargetTrackingMetricPtrOutput added in v0.85.0

func (o ScalingPolicyTargetTrackingMetricOutput) ToScalingPolicyTargetTrackingMetricPtrOutput() ScalingPolicyTargetTrackingMetricPtrOutput

func (ScalingPolicyTargetTrackingMetricOutput) ToScalingPolicyTargetTrackingMetricPtrOutputWithContext added in v0.85.0

func (o ScalingPolicyTargetTrackingMetricOutput) ToScalingPolicyTargetTrackingMetricPtrOutputWithContext(ctx context.Context) ScalingPolicyTargetTrackingMetricPtrOutput

type ScalingPolicyTargetTrackingMetricPtrInput added in v0.85.0

type ScalingPolicyTargetTrackingMetricPtrInput interface {
	pulumi.Input

	ToScalingPolicyTargetTrackingMetricPtrOutput() ScalingPolicyTargetTrackingMetricPtrOutput
	ToScalingPolicyTargetTrackingMetricPtrOutputWithContext(context.Context) ScalingPolicyTargetTrackingMetricPtrOutput
}

ScalingPolicyTargetTrackingMetricPtrInput is an input type that accepts ScalingPolicyTargetTrackingMetricArgs, ScalingPolicyTargetTrackingMetricPtr and ScalingPolicyTargetTrackingMetricPtrOutput values. You can construct a concrete instance of `ScalingPolicyTargetTrackingMetricPtrInput` via:

        ScalingPolicyTargetTrackingMetricArgs{...}

or:

        nil

type ScalingPolicyTargetTrackingMetricPtrOutput added in v0.85.0

type ScalingPolicyTargetTrackingMetricPtrOutput struct{ *pulumi.OutputState }

func (ScalingPolicyTargetTrackingMetricPtrOutput) Dimensions added in v0.85.0

The dimensions for the metric. For the list of available dimensions, see the AWS documentation available from the table in [services that publish CloudWatch metrics](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/aws-services-cloudwatch-metrics.html) in the *Amazon CloudWatch User Guide*.

Conditional: If you published your metric with dimensions, you must specify the same dimensions in your scaling policy.

func (ScalingPolicyTargetTrackingMetricPtrOutput) Elem added in v0.85.0

func (ScalingPolicyTargetTrackingMetricPtrOutput) ElementType added in v0.85.0

func (ScalingPolicyTargetTrackingMetricPtrOutput) MetricName added in v0.85.0

The name of the metric.

func (ScalingPolicyTargetTrackingMetricPtrOutput) Namespace added in v0.85.0

The namespace of the metric. For more information, see the table in [services that publish CloudWatch metrics](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/aws-services-cloudwatch-metrics.html) in the *Amazon CloudWatch User Guide*.

func (ScalingPolicyTargetTrackingMetricPtrOutput) ToScalingPolicyTargetTrackingMetricPtrOutput added in v0.85.0

func (o ScalingPolicyTargetTrackingMetricPtrOutput) ToScalingPolicyTargetTrackingMetricPtrOutput() ScalingPolicyTargetTrackingMetricPtrOutput

func (ScalingPolicyTargetTrackingMetricPtrOutput) ToScalingPolicyTargetTrackingMetricPtrOutputWithContext added in v0.85.0

func (o ScalingPolicyTargetTrackingMetricPtrOutput) ToScalingPolicyTargetTrackingMetricPtrOutputWithContext(ctx context.Context) ScalingPolicyTargetTrackingMetricPtrOutput

type ScalingPolicyTargetTrackingMetricStat added in v0.85.0

type ScalingPolicyTargetTrackingMetricStat struct {
	// The CloudWatch metric to return, including the metric name, namespace, and dimensions. To get the exact metric name, namespace, and dimensions, inspect the [Metric](https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_Metric.html) object that is returned by a call to [ListMetrics](https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_ListMetrics.html).
	Metric *ScalingPolicyTargetTrackingMetric `pulumi:"metric"`
	// The statistic to return. It can include any CloudWatch statistic or extended statistic. For a list of valid values, see the table in [Statistics](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/cloudwatch_concepts.html#Statistic) in the *Amazon CloudWatch User Guide*.
	//  The most commonly used metric for scaling is “Average“.
	Stat *string `pulumi:"stat"`
	// The unit to use for the returned data points. For a complete list of the units that CloudWatch supports, see the [MetricDatum](https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_MetricDatum.html) data type in the *Amazon CloudWatch API Reference*.
	Unit *string `pulumi:"unit"`
}

This structure defines the CloudWatch metric to return, along with the statistic and unit.

 ``TargetTrackingMetricStat`` is a property of the [AWS::ApplicationAutoScaling::ScalingPolicy TargetTrackingMetricDataQuery](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationautoscaling-scalingpolicy-targettrackingmetricdataquery.html) property type.
For more information about the CloudWatch terminology below, see [Amazon CloudWatch concepts](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/cloudwatch_concepts.html) in the *Amazon CloudWatch User Guide*.

type ScalingPolicyTargetTrackingMetricStatArgs added in v0.85.0

type ScalingPolicyTargetTrackingMetricStatArgs struct {
	// The CloudWatch metric to return, including the metric name, namespace, and dimensions. To get the exact metric name, namespace, and dimensions, inspect the [Metric](https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_Metric.html) object that is returned by a call to [ListMetrics](https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_ListMetrics.html).
	Metric ScalingPolicyTargetTrackingMetricPtrInput `pulumi:"metric"`
	// The statistic to return. It can include any CloudWatch statistic or extended statistic. For a list of valid values, see the table in [Statistics](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/cloudwatch_concepts.html#Statistic) in the *Amazon CloudWatch User Guide*.
	//  The most commonly used metric for scaling is “Average“.
	Stat pulumi.StringPtrInput `pulumi:"stat"`
	// The unit to use for the returned data points. For a complete list of the units that CloudWatch supports, see the [MetricDatum](https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_MetricDatum.html) data type in the *Amazon CloudWatch API Reference*.
	Unit pulumi.StringPtrInput `pulumi:"unit"`
}

This structure defines the CloudWatch metric to return, along with the statistic and unit.

 ``TargetTrackingMetricStat`` is a property of the [AWS::ApplicationAutoScaling::ScalingPolicy TargetTrackingMetricDataQuery](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationautoscaling-scalingpolicy-targettrackingmetricdataquery.html) property type.
For more information about the CloudWatch terminology below, see [Amazon CloudWatch concepts](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/cloudwatch_concepts.html) in the *Amazon CloudWatch User Guide*.

func (ScalingPolicyTargetTrackingMetricStatArgs) ElementType added in v0.85.0

func (ScalingPolicyTargetTrackingMetricStatArgs) ToScalingPolicyTargetTrackingMetricStatOutput added in v0.85.0

func (i ScalingPolicyTargetTrackingMetricStatArgs) ToScalingPolicyTargetTrackingMetricStatOutput() ScalingPolicyTargetTrackingMetricStatOutput

func (ScalingPolicyTargetTrackingMetricStatArgs) ToScalingPolicyTargetTrackingMetricStatOutputWithContext added in v0.85.0

func (i ScalingPolicyTargetTrackingMetricStatArgs) ToScalingPolicyTargetTrackingMetricStatOutputWithContext(ctx context.Context) ScalingPolicyTargetTrackingMetricStatOutput

func (ScalingPolicyTargetTrackingMetricStatArgs) ToScalingPolicyTargetTrackingMetricStatPtrOutput added in v0.85.0

func (i ScalingPolicyTargetTrackingMetricStatArgs) ToScalingPolicyTargetTrackingMetricStatPtrOutput() ScalingPolicyTargetTrackingMetricStatPtrOutput

func (ScalingPolicyTargetTrackingMetricStatArgs) ToScalingPolicyTargetTrackingMetricStatPtrOutputWithContext added in v0.85.0

func (i ScalingPolicyTargetTrackingMetricStatArgs) ToScalingPolicyTargetTrackingMetricStatPtrOutputWithContext(ctx context.Context) ScalingPolicyTargetTrackingMetricStatPtrOutput

type ScalingPolicyTargetTrackingMetricStatInput added in v0.85.0

type ScalingPolicyTargetTrackingMetricStatInput interface {
	pulumi.Input

	ToScalingPolicyTargetTrackingMetricStatOutput() ScalingPolicyTargetTrackingMetricStatOutput
	ToScalingPolicyTargetTrackingMetricStatOutputWithContext(context.Context) ScalingPolicyTargetTrackingMetricStatOutput
}

ScalingPolicyTargetTrackingMetricStatInput is an input type that accepts ScalingPolicyTargetTrackingMetricStatArgs and ScalingPolicyTargetTrackingMetricStatOutput values. You can construct a concrete instance of `ScalingPolicyTargetTrackingMetricStatInput` via:

ScalingPolicyTargetTrackingMetricStatArgs{...}

type ScalingPolicyTargetTrackingMetricStatOutput added in v0.85.0

type ScalingPolicyTargetTrackingMetricStatOutput struct{ *pulumi.OutputState }

This structure defines the CloudWatch metric to return, along with the statistic and unit.

 ``TargetTrackingMetricStat`` is a property of the [AWS::ApplicationAutoScaling::ScalingPolicy TargetTrackingMetricDataQuery](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationautoscaling-scalingpolicy-targettrackingmetricdataquery.html) property type.
For more information about the CloudWatch terminology below, see [Amazon CloudWatch concepts](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/cloudwatch_concepts.html) in the *Amazon CloudWatch User Guide*.

func (ScalingPolicyTargetTrackingMetricStatOutput) ElementType added in v0.85.0

func (ScalingPolicyTargetTrackingMetricStatOutput) Metric added in v0.85.0

The CloudWatch metric to return, including the metric name, namespace, and dimensions. To get the exact metric name, namespace, and dimensions, inspect the [Metric](https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_Metric.html) object that is returned by a call to [ListMetrics](https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_ListMetrics.html).

func (ScalingPolicyTargetTrackingMetricStatOutput) Stat added in v0.85.0

The statistic to return. It can include any CloudWatch statistic or extended statistic. For a list of valid values, see the table in [Statistics](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/cloudwatch_concepts.html#Statistic) in the *Amazon CloudWatch User Guide*.

The most commonly used metric for scaling is ``Average``.

func (ScalingPolicyTargetTrackingMetricStatOutput) ToScalingPolicyTargetTrackingMetricStatOutput added in v0.85.0

func (o ScalingPolicyTargetTrackingMetricStatOutput) ToScalingPolicyTargetTrackingMetricStatOutput() ScalingPolicyTargetTrackingMetricStatOutput

func (ScalingPolicyTargetTrackingMetricStatOutput) ToScalingPolicyTargetTrackingMetricStatOutputWithContext added in v0.85.0

func (o ScalingPolicyTargetTrackingMetricStatOutput) ToScalingPolicyTargetTrackingMetricStatOutputWithContext(ctx context.Context) ScalingPolicyTargetTrackingMetricStatOutput

func (ScalingPolicyTargetTrackingMetricStatOutput) ToScalingPolicyTargetTrackingMetricStatPtrOutput added in v0.85.0

func (o ScalingPolicyTargetTrackingMetricStatOutput) ToScalingPolicyTargetTrackingMetricStatPtrOutput() ScalingPolicyTargetTrackingMetricStatPtrOutput

func (ScalingPolicyTargetTrackingMetricStatOutput) ToScalingPolicyTargetTrackingMetricStatPtrOutputWithContext added in v0.85.0

func (o ScalingPolicyTargetTrackingMetricStatOutput) ToScalingPolicyTargetTrackingMetricStatPtrOutputWithContext(ctx context.Context) ScalingPolicyTargetTrackingMetricStatPtrOutput

func (ScalingPolicyTargetTrackingMetricStatOutput) Unit added in v0.85.0

The unit to use for the returned data points. For a complete list of the units that CloudWatch supports, see the [MetricDatum](https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_MetricDatum.html) data type in the *Amazon CloudWatch API Reference*.

type ScalingPolicyTargetTrackingMetricStatPtrInput added in v0.85.0

type ScalingPolicyTargetTrackingMetricStatPtrInput interface {
	pulumi.Input

	ToScalingPolicyTargetTrackingMetricStatPtrOutput() ScalingPolicyTargetTrackingMetricStatPtrOutput
	ToScalingPolicyTargetTrackingMetricStatPtrOutputWithContext(context.Context) ScalingPolicyTargetTrackingMetricStatPtrOutput
}

ScalingPolicyTargetTrackingMetricStatPtrInput is an input type that accepts ScalingPolicyTargetTrackingMetricStatArgs, ScalingPolicyTargetTrackingMetricStatPtr and ScalingPolicyTargetTrackingMetricStatPtrOutput values. You can construct a concrete instance of `ScalingPolicyTargetTrackingMetricStatPtrInput` via:

        ScalingPolicyTargetTrackingMetricStatArgs{...}

or:

        nil

type ScalingPolicyTargetTrackingMetricStatPtrOutput added in v0.85.0

type ScalingPolicyTargetTrackingMetricStatPtrOutput struct{ *pulumi.OutputState }

func (ScalingPolicyTargetTrackingMetricStatPtrOutput) Elem added in v0.85.0

func (ScalingPolicyTargetTrackingMetricStatPtrOutput) ElementType added in v0.85.0

func (ScalingPolicyTargetTrackingMetricStatPtrOutput) Metric added in v0.85.0

The CloudWatch metric to return, including the metric name, namespace, and dimensions. To get the exact metric name, namespace, and dimensions, inspect the [Metric](https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_Metric.html) object that is returned by a call to [ListMetrics](https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_ListMetrics.html).

func (ScalingPolicyTargetTrackingMetricStatPtrOutput) Stat added in v0.85.0

The statistic to return. It can include any CloudWatch statistic or extended statistic. For a list of valid values, see the table in [Statistics](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/cloudwatch_concepts.html#Statistic) in the *Amazon CloudWatch User Guide*.

The most commonly used metric for scaling is ``Average``.

func (ScalingPolicyTargetTrackingMetricStatPtrOutput) ToScalingPolicyTargetTrackingMetricStatPtrOutput added in v0.85.0

func (o ScalingPolicyTargetTrackingMetricStatPtrOutput) ToScalingPolicyTargetTrackingMetricStatPtrOutput() ScalingPolicyTargetTrackingMetricStatPtrOutput

func (ScalingPolicyTargetTrackingMetricStatPtrOutput) ToScalingPolicyTargetTrackingMetricStatPtrOutputWithContext added in v0.85.0

func (o ScalingPolicyTargetTrackingMetricStatPtrOutput) ToScalingPolicyTargetTrackingMetricStatPtrOutputWithContext(ctx context.Context) ScalingPolicyTargetTrackingMetricStatPtrOutput

func (ScalingPolicyTargetTrackingMetricStatPtrOutput) Unit added in v0.85.0

The unit to use for the returned data points. For a complete list of the units that CloudWatch supports, see the [MetricDatum](https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_MetricDatum.html) data type in the *Amazon CloudWatch API Reference*.

type ScalingPolicyTargetTrackingScalingPolicyConfiguration

type ScalingPolicyTargetTrackingScalingPolicyConfiguration struct {
	// A customized metric. You can specify either a predefined metric or a customized metric.
	CustomizedMetricSpecification *ScalingPolicyCustomizedMetricSpecification `pulumi:"customizedMetricSpecification"`
	// Indicates whether scale in by the target tracking scaling policy is disabled. If the value is “true“, scale in is disabled and the target tracking scaling policy won't remove capacity from the scalable target. Otherwise, scale in is enabled and the target tracking scaling policy can remove capacity from the scalable target. The default value is “false“.
	DisableScaleIn *bool `pulumi:"disableScaleIn"`
	// A predefined metric. You can specify either a predefined metric or a customized metric.
	PredefinedMetricSpecification *ScalingPolicyPredefinedMetricSpecification `pulumi:"predefinedMetricSpecification"`
	// The amount of time, in seconds, after a scale-in activity completes before another scale-in activity can start. For more information and for default values, see [Define cooldown periods](https://docs.aws.amazon.com/autoscaling/application/userguide/target-tracking-scaling-policy-overview.html#target-tracking-cooldown) in the *Application Auto Scaling User Guide*.
	ScaleInCooldown *int `pulumi:"scaleInCooldown"`
	// The amount of time, in seconds, to wait for a previous scale-out activity to take effect. For more information and for default values, see [Define cooldown periods](https://docs.aws.amazon.com/autoscaling/application/userguide/target-tracking-scaling-policy-overview.html#target-tracking-cooldown) in the *Application Auto Scaling User Guide*.
	ScaleOutCooldown *int `pulumi:"scaleOutCooldown"`
	// The target value for the metric. Although this property accepts numbers of type Double, it won't accept values that are either too small or too large. Values must be in the range of -2^360 to 2^360. The value must be a valid number based on the choice of metric. For example, if the metric is CPU utilization, then the target value is a percent value that represents how much of the CPU can be used before scaling out.
	TargetValue float64 `pulumi:"targetValue"`
}

“TargetTrackingScalingPolicyConfiguration“ is a property of the [AWS::ApplicationAutoScaling::ScalingPolicy](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-applicationautoscaling-scalingpolicy.html) resource that specifies a target tracking scaling policy configuration for Application Auto Scaling. Use a target tracking scaling policy to adjust the capacity of the specified scalable target in response to actual workloads, so that resource utilization remains at or near the target utilization value.

For more information, see [Target tracking scaling policies](https://docs.aws.amazon.com/autoscaling/application/userguide/application-auto-scaling-target-tracking.html) in the *Application Auto Scaling User Guide*.

type ScalingPolicyTargetTrackingScalingPolicyConfigurationArgs

type ScalingPolicyTargetTrackingScalingPolicyConfigurationArgs struct {
	// A customized metric. You can specify either a predefined metric or a customized metric.
	CustomizedMetricSpecification ScalingPolicyCustomizedMetricSpecificationPtrInput `pulumi:"customizedMetricSpecification"`
	// Indicates whether scale in by the target tracking scaling policy is disabled. If the value is “true“, scale in is disabled and the target tracking scaling policy won't remove capacity from the scalable target. Otherwise, scale in is enabled and the target tracking scaling policy can remove capacity from the scalable target. The default value is “false“.
	DisableScaleIn pulumi.BoolPtrInput `pulumi:"disableScaleIn"`
	// A predefined metric. You can specify either a predefined metric or a customized metric.
	PredefinedMetricSpecification ScalingPolicyPredefinedMetricSpecificationPtrInput `pulumi:"predefinedMetricSpecification"`
	// The amount of time, in seconds, after a scale-in activity completes before another scale-in activity can start. For more information and for default values, see [Define cooldown periods](https://docs.aws.amazon.com/autoscaling/application/userguide/target-tracking-scaling-policy-overview.html#target-tracking-cooldown) in the *Application Auto Scaling User Guide*.
	ScaleInCooldown pulumi.IntPtrInput `pulumi:"scaleInCooldown"`
	// The amount of time, in seconds, to wait for a previous scale-out activity to take effect. For more information and for default values, see [Define cooldown periods](https://docs.aws.amazon.com/autoscaling/application/userguide/target-tracking-scaling-policy-overview.html#target-tracking-cooldown) in the *Application Auto Scaling User Guide*.
	ScaleOutCooldown pulumi.IntPtrInput `pulumi:"scaleOutCooldown"`
	// The target value for the metric. Although this property accepts numbers of type Double, it won't accept values that are either too small or too large. Values must be in the range of -2^360 to 2^360. The value must be a valid number based on the choice of metric. For example, if the metric is CPU utilization, then the target value is a percent value that represents how much of the CPU can be used before scaling out.
	TargetValue pulumi.Float64Input `pulumi:"targetValue"`
}

“TargetTrackingScalingPolicyConfiguration“ is a property of the [AWS::ApplicationAutoScaling::ScalingPolicy](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-applicationautoscaling-scalingpolicy.html) resource that specifies a target tracking scaling policy configuration for Application Auto Scaling. Use a target tracking scaling policy to adjust the capacity of the specified scalable target in response to actual workloads, so that resource utilization remains at or near the target utilization value.

For more information, see [Target tracking scaling policies](https://docs.aws.amazon.com/autoscaling/application/userguide/application-auto-scaling-target-tracking.html) in the *Application Auto Scaling User Guide*.

func (ScalingPolicyTargetTrackingScalingPolicyConfigurationArgs) ElementType

func (ScalingPolicyTargetTrackingScalingPolicyConfigurationArgs) ToScalingPolicyTargetTrackingScalingPolicyConfigurationOutput

func (ScalingPolicyTargetTrackingScalingPolicyConfigurationArgs) ToScalingPolicyTargetTrackingScalingPolicyConfigurationOutputWithContext

func (i ScalingPolicyTargetTrackingScalingPolicyConfigurationArgs) ToScalingPolicyTargetTrackingScalingPolicyConfigurationOutputWithContext(ctx context.Context) ScalingPolicyTargetTrackingScalingPolicyConfigurationOutput

func (ScalingPolicyTargetTrackingScalingPolicyConfigurationArgs) ToScalingPolicyTargetTrackingScalingPolicyConfigurationPtrOutput

func (ScalingPolicyTargetTrackingScalingPolicyConfigurationArgs) ToScalingPolicyTargetTrackingScalingPolicyConfigurationPtrOutputWithContext

func (i ScalingPolicyTargetTrackingScalingPolicyConfigurationArgs) ToScalingPolicyTargetTrackingScalingPolicyConfigurationPtrOutputWithContext(ctx context.Context) ScalingPolicyTargetTrackingScalingPolicyConfigurationPtrOutput

type ScalingPolicyTargetTrackingScalingPolicyConfigurationInput

type ScalingPolicyTargetTrackingScalingPolicyConfigurationInput interface {
	pulumi.Input

	ToScalingPolicyTargetTrackingScalingPolicyConfigurationOutput() ScalingPolicyTargetTrackingScalingPolicyConfigurationOutput
	ToScalingPolicyTargetTrackingScalingPolicyConfigurationOutputWithContext(context.Context) ScalingPolicyTargetTrackingScalingPolicyConfigurationOutput
}

ScalingPolicyTargetTrackingScalingPolicyConfigurationInput is an input type that accepts ScalingPolicyTargetTrackingScalingPolicyConfigurationArgs and ScalingPolicyTargetTrackingScalingPolicyConfigurationOutput values. You can construct a concrete instance of `ScalingPolicyTargetTrackingScalingPolicyConfigurationInput` via:

ScalingPolicyTargetTrackingScalingPolicyConfigurationArgs{...}

type ScalingPolicyTargetTrackingScalingPolicyConfigurationOutput

type ScalingPolicyTargetTrackingScalingPolicyConfigurationOutput struct{ *pulumi.OutputState }

“TargetTrackingScalingPolicyConfiguration“ is a property of the [AWS::ApplicationAutoScaling::ScalingPolicy](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-applicationautoscaling-scalingpolicy.html) resource that specifies a target tracking scaling policy configuration for Application Auto Scaling. Use a target tracking scaling policy to adjust the capacity of the specified scalable target in response to actual workloads, so that resource utilization remains at or near the target utilization value.

For more information, see [Target tracking scaling policies](https://docs.aws.amazon.com/autoscaling/application/userguide/application-auto-scaling-target-tracking.html) in the *Application Auto Scaling User Guide*.

func (ScalingPolicyTargetTrackingScalingPolicyConfigurationOutput) CustomizedMetricSpecification

A customized metric. You can specify either a predefined metric or a customized metric.

func (ScalingPolicyTargetTrackingScalingPolicyConfigurationOutput) DisableScaleIn

Indicates whether scale in by the target tracking scaling policy is disabled. If the value is “true“, scale in is disabled and the target tracking scaling policy won't remove capacity from the scalable target. Otherwise, scale in is enabled and the target tracking scaling policy can remove capacity from the scalable target. The default value is “false“.

func (ScalingPolicyTargetTrackingScalingPolicyConfigurationOutput) ElementType

func (ScalingPolicyTargetTrackingScalingPolicyConfigurationOutput) PredefinedMetricSpecification

A predefined metric. You can specify either a predefined metric or a customized metric.

func (ScalingPolicyTargetTrackingScalingPolicyConfigurationOutput) ScaleInCooldown

The amount of time, in seconds, after a scale-in activity completes before another scale-in activity can start. For more information and for default values, see [Define cooldown periods](https://docs.aws.amazon.com/autoscaling/application/userguide/target-tracking-scaling-policy-overview.html#target-tracking-cooldown) in the *Application Auto Scaling User Guide*.

func (ScalingPolicyTargetTrackingScalingPolicyConfigurationOutput) ScaleOutCooldown

The amount of time, in seconds, to wait for a previous scale-out activity to take effect. For more information and for default values, see [Define cooldown periods](https://docs.aws.amazon.com/autoscaling/application/userguide/target-tracking-scaling-policy-overview.html#target-tracking-cooldown) in the *Application Auto Scaling User Guide*.

func (ScalingPolicyTargetTrackingScalingPolicyConfigurationOutput) TargetValue

The target value for the metric. Although this property accepts numbers of type Double, it won't accept values that are either too small or too large. Values must be in the range of -2^360 to 2^360. The value must be a valid number based on the choice of metric. For example, if the metric is CPU utilization, then the target value is a percent value that represents how much of the CPU can be used before scaling out.

func (ScalingPolicyTargetTrackingScalingPolicyConfigurationOutput) ToScalingPolicyTargetTrackingScalingPolicyConfigurationOutput

func (ScalingPolicyTargetTrackingScalingPolicyConfigurationOutput) ToScalingPolicyTargetTrackingScalingPolicyConfigurationOutputWithContext

func (o ScalingPolicyTargetTrackingScalingPolicyConfigurationOutput) ToScalingPolicyTargetTrackingScalingPolicyConfigurationOutputWithContext(ctx context.Context) ScalingPolicyTargetTrackingScalingPolicyConfigurationOutput

func (ScalingPolicyTargetTrackingScalingPolicyConfigurationOutput) ToScalingPolicyTargetTrackingScalingPolicyConfigurationPtrOutput

func (ScalingPolicyTargetTrackingScalingPolicyConfigurationOutput) ToScalingPolicyTargetTrackingScalingPolicyConfigurationPtrOutputWithContext

func (o ScalingPolicyTargetTrackingScalingPolicyConfigurationOutput) ToScalingPolicyTargetTrackingScalingPolicyConfigurationPtrOutputWithContext(ctx context.Context) ScalingPolicyTargetTrackingScalingPolicyConfigurationPtrOutput

type ScalingPolicyTargetTrackingScalingPolicyConfigurationPtrInput

type ScalingPolicyTargetTrackingScalingPolicyConfigurationPtrInput interface {
	pulumi.Input

	ToScalingPolicyTargetTrackingScalingPolicyConfigurationPtrOutput() ScalingPolicyTargetTrackingScalingPolicyConfigurationPtrOutput
	ToScalingPolicyTargetTrackingScalingPolicyConfigurationPtrOutputWithContext(context.Context) ScalingPolicyTargetTrackingScalingPolicyConfigurationPtrOutput
}

ScalingPolicyTargetTrackingScalingPolicyConfigurationPtrInput is an input type that accepts ScalingPolicyTargetTrackingScalingPolicyConfigurationArgs, ScalingPolicyTargetTrackingScalingPolicyConfigurationPtr and ScalingPolicyTargetTrackingScalingPolicyConfigurationPtrOutput values. You can construct a concrete instance of `ScalingPolicyTargetTrackingScalingPolicyConfigurationPtrInput` via:

        ScalingPolicyTargetTrackingScalingPolicyConfigurationArgs{...}

or:

        nil

type ScalingPolicyTargetTrackingScalingPolicyConfigurationPtrOutput

type ScalingPolicyTargetTrackingScalingPolicyConfigurationPtrOutput struct{ *pulumi.OutputState }

func (ScalingPolicyTargetTrackingScalingPolicyConfigurationPtrOutput) CustomizedMetricSpecification

A customized metric. You can specify either a predefined metric or a customized metric.

func (ScalingPolicyTargetTrackingScalingPolicyConfigurationPtrOutput) DisableScaleIn

Indicates whether scale in by the target tracking scaling policy is disabled. If the value is “true“, scale in is disabled and the target tracking scaling policy won't remove capacity from the scalable target. Otherwise, scale in is enabled and the target tracking scaling policy can remove capacity from the scalable target. The default value is “false“.

func (ScalingPolicyTargetTrackingScalingPolicyConfigurationPtrOutput) Elem

func (ScalingPolicyTargetTrackingScalingPolicyConfigurationPtrOutput) ElementType

func (ScalingPolicyTargetTrackingScalingPolicyConfigurationPtrOutput) PredefinedMetricSpecification

A predefined metric. You can specify either a predefined metric or a customized metric.

func (ScalingPolicyTargetTrackingScalingPolicyConfigurationPtrOutput) ScaleInCooldown

The amount of time, in seconds, after a scale-in activity completes before another scale-in activity can start. For more information and for default values, see [Define cooldown periods](https://docs.aws.amazon.com/autoscaling/application/userguide/target-tracking-scaling-policy-overview.html#target-tracking-cooldown) in the *Application Auto Scaling User Guide*.

func (ScalingPolicyTargetTrackingScalingPolicyConfigurationPtrOutput) ScaleOutCooldown

The amount of time, in seconds, to wait for a previous scale-out activity to take effect. For more information and for default values, see [Define cooldown periods](https://docs.aws.amazon.com/autoscaling/application/userguide/target-tracking-scaling-policy-overview.html#target-tracking-cooldown) in the *Application Auto Scaling User Guide*.

func (ScalingPolicyTargetTrackingScalingPolicyConfigurationPtrOutput) TargetValue

The target value for the metric. Although this property accepts numbers of type Double, it won't accept values that are either too small or too large. Values must be in the range of -2^360 to 2^360. The value must be a valid number based on the choice of metric. For example, if the metric is CPU utilization, then the target value is a percent value that represents how much of the CPU can be used before scaling out.

func (ScalingPolicyTargetTrackingScalingPolicyConfigurationPtrOutput) ToScalingPolicyTargetTrackingScalingPolicyConfigurationPtrOutput

func (ScalingPolicyTargetTrackingScalingPolicyConfigurationPtrOutput) ToScalingPolicyTargetTrackingScalingPolicyConfigurationPtrOutputWithContext

func (o ScalingPolicyTargetTrackingScalingPolicyConfigurationPtrOutput) ToScalingPolicyTargetTrackingScalingPolicyConfigurationPtrOutputWithContext(ctx context.Context) ScalingPolicyTargetTrackingScalingPolicyConfigurationPtrOutput

Jump to

Keyboard shortcuts

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