applicationautoscaling

package
v0.104.0 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2024 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 {
	// ARN is a read only property for the resource.
	Arn string `pulumi:"arn"`
	// The scalable dimension. This string consists of the service namespace, resource type, and scaling property.
	ScalableDimension string `pulumi:"scalableDimension"`
}

type LookupScalingPolicyOutputArgs added in v0.12.0

type LookupScalingPolicyOutputArgs struct {
	// ARN is a read only property for the resource.
	Arn pulumi.StringInput `pulumi:"arn"`
	// The scalable dimension. This string consists of the service namespace, resource type, and scaling property.
	ScalableDimension pulumi.StringInput `pulumi:"scalableDimension"`
}

func (LookupScalingPolicyOutputArgs) ElementType added in v0.12.0

type LookupScalingPolicyResult added in v0.12.0

type LookupScalingPolicyResult struct {
	// ARN is a read only property for the resource.
	Arn *string `pulumi:"arn"`
	// The scaling policy type.
	//
	// The following policy types are supported:
	//
	// TargetTrackingScaling Not supported for Amazon EMR
	//
	// StepScaling Not supported for DynamoDB, Amazon Comprehend, Lambda, Amazon Keyspaces, Amazon MSK, Amazon ElastiCache, or Neptune.
	PolicyType *string `pulumi:"policyType"`
	// A step scaling policy.
	StepScalingPolicyConfiguration *ScalingPolicyStepScalingPolicyConfiguration `pulumi:"stepScalingPolicyConfiguration"`
	// A target tracking scaling policy.
	TargetTrackingScalingPolicyConfiguration *ScalingPolicyTargetTrackingScalingPolicyConfiguration `pulumi:"targetTrackingScalingPolicyConfiguration"`
}

func LookupScalingPolicy added in v0.12.0

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

Resource Type definition for AWS::ApplicationAutoScaling::ScalingPolicy

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

ARN is a read only property for the resource.

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) 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

	// ARN is a read only property for the resource.
	Arn pulumi.StringOutput `pulumi:"arn"`
	// The name of the scaling policy.
	//
	// Updates to the name of a target tracking scaling policy are not supported, unless you also update the metric used for scaling. To change only a target tracking scaling policy's name, first delete the policy by removing the existing AWS::ApplicationAutoScaling::ScalingPolicy resource from the template and updating the stack. Then, recreate the resource with the same settings and a different name.
	PolicyName pulumi.StringOutput `pulumi:"policyName"`
	// The scaling policy type.
	//
	// The following policy types are supported:
	//
	// TargetTrackingScaling Not supported for Amazon EMR
	//
	// StepScaling Not supported for DynamoDB, Amazon Comprehend, Lambda, Amazon Keyspaces, Amazon MSK, Amazon ElastiCache, or Neptune.
	PolicyType pulumi.StringOutput `pulumi:"policyType"`
	// The identifier of the resource associated with the scaling policy. This string consists of the resource type and unique identifier.
	ResourceId pulumi.StringPtrOutput `pulumi:"resourceId"`
	// The scalable dimension. This string consists of the service namespace, resource type, and scaling property.
	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.
	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"`
}

Resource Type definition for AWS::ApplicationAutoScaling::ScalingPolicy

func GetScalingPolicy

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

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

func NewScalingPolicy

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

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

func (*ScalingPolicy) ElementType

func (*ScalingPolicy) ElementType() reflect.Type

func (*ScalingPolicy) ToScalingPolicyOutput

func (i *ScalingPolicy) ToScalingPolicyOutput() ScalingPolicyOutput

func (*ScalingPolicy) ToScalingPolicyOutputWithContext

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

type ScalingPolicyArgs

type ScalingPolicyArgs struct {
	// The name of the scaling policy.
	//
	// Updates to the name of a target tracking scaling policy are not supported, unless you also update the metric used for scaling. To change only a target tracking scaling policy's name, first delete the policy by removing the existing AWS::ApplicationAutoScaling::ScalingPolicy resource from the template and updating the stack. Then, recreate the resource with the same settings and a different name.
	PolicyName pulumi.StringPtrInput
	// The scaling policy type.
	//
	// The following policy types are supported:
	//
	// TargetTrackingScaling Not supported for Amazon EMR
	//
	// StepScaling Not supported for DynamoDB, Amazon Comprehend, Lambda, Amazon Keyspaces, Amazon MSK, Amazon ElastiCache, or Neptune.
	PolicyType pulumi.StringInput
	// The identifier of the resource associated with the scaling policy. This string consists of the resource type and unique identifier.
	ResourceId pulumi.StringPtrInput
	// The scalable dimension. This string consists of the service namespace, resource type, and scaling property.
	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.
	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.
	Dimensions []ScalingPolicyMetricDimension `pulumi:"dimensions"`
	// The name of the metric. To get the exact metric name, namespace, and dimensions, inspect the Metric object that is returned by a call to ListMetrics.
	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 data type in the Amazon CloudWatch API Reference.
	Unit *string `pulumi:"unit"`
}

Represents a CloudWatch metric of your choosing for a target tracking scaling policy to use with Application Auto Scaling.

type ScalingPolicyCustomizedMetricSpecificationArgs

type ScalingPolicyCustomizedMetricSpecificationArgs struct {
	// The dimensions of the metric.
	Dimensions ScalingPolicyMetricDimensionArrayInput `pulumi:"dimensions"`
	// The name of the metric. To get the exact metric name, namespace, and dimensions, inspect the Metric object that is returned by a call to ListMetrics.
	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 data type in the Amazon CloudWatch API Reference.
	Unit pulumi.StringPtrInput `pulumi:"unit"`
}

Represents a CloudWatch metric of your choosing for a target tracking scaling policy to use with Application Auto Scaling.

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 }

Represents a CloudWatch metric of your choosing for a target tracking scaling policy to use with Application Auto Scaling.

func (ScalingPolicyCustomizedMetricSpecificationOutput) Dimensions

The dimensions of the metric.

func (ScalingPolicyCustomizedMetricSpecificationOutput) ElementType

func (ScalingPolicyCustomizedMetricSpecificationOutput) MetricName

The name of the metric. To get the exact metric name, namespace, and dimensions, inspect the Metric object that is returned by a call to ListMetrics.

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 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.

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 object that is returned by a call to ListMetrics.

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 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"`
}

Describes the dimension names and values associated with a metric.

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"`
}

Describes the dimension names and values associated with a metric.

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 }

Describes the dimension names and values associated with a metric.

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

ARN is a read only property for the resource.

func (ScalingPolicyOutput) ElementType

func (ScalingPolicyOutput) ElementType() reflect.Type

func (ScalingPolicyOutput) PolicyName added in v0.17.0

func (o ScalingPolicyOutput) PolicyName() pulumi.StringOutput

The name of the scaling policy.

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

func (ScalingPolicyOutput) PolicyType added in v0.17.0

func (o ScalingPolicyOutput) PolicyType() pulumi.StringOutput

The scaling policy type.

The following policy types are supported:

TargetTrackingScaling Not supported for Amazon EMR

StepScaling Not supported for DynamoDB, Amazon Comprehend, Lambda, Amazon Keyspaces, Amazon MSK, Amazon ElastiCache, or Neptune.

func (ScalingPolicyOutput) ResourceId added in v0.17.0

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

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.

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.

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 Fleets 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.
	ResourceLabel *string `pulumi:"resourceLabel"`
}

Represents a predefined metric for a target tracking scaling policy to use with Application Auto Scaling.

type ScalingPolicyPredefinedMetricSpecificationArgs

type ScalingPolicyPredefinedMetricSpecificationArgs struct {
	// The metric type. The ALBRequestCountPerTarget metric type applies only to Spot Fleets 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.
	ResourceLabel pulumi.StringPtrInput `pulumi:"resourceLabel"`
}

Represents a predefined metric for a target tracking scaling policy to use with Application Auto Scaling.

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 }

Represents a predefined metric for a target tracking scaling policy to use with Application Auto Scaling.

func (ScalingPolicyPredefinedMetricSpecificationOutput) ElementType

func (ScalingPolicyPredefinedMetricSpecificationOutput) PredefinedMetricType

The metric type. The ALBRequestCountPerTarget metric type applies only to Spot Fleets 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.

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 Fleets 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.

func (ScalingPolicyPredefinedMetricSpecificationPtrOutput) ToScalingPolicyPredefinedMetricSpecificationPtrOutput

func (o ScalingPolicyPredefinedMetricSpecificationPtrOutput) ToScalingPolicyPredefinedMetricSpecificationPtrOutput() ScalingPolicyPredefinedMetricSpecificationPtrOutput

func (ScalingPolicyPredefinedMetricSpecificationPtrOutput) ToScalingPolicyPredefinedMetricSpecificationPtrOutputWithContext

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

type ScalingPolicyState

type ScalingPolicyState struct {
}

func (ScalingPolicyState) ElementType

func (ScalingPolicyState) ElementType() reflect.Type

type ScalingPolicyStepAdjustment

type ScalingPolicyStepAdjustment struct {
	// The lower bound for the difference between the alarm threshold and the CloudWatch metric. If the metric value is above the breach threshold, the lower bound is inclusive (the metric must be greater than or equal to the threshold plus the lower bound). Otherwise, it is exclusive (the metric must be greater than the threshold plus the lower bound). A null value indicates negative infinity.
	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.
	MetricIntervalUpperBound *float64 `pulumi:"metricIntervalUpperBound"`
	// The amount by which to scale, based on the specified adjustment type. A positive value adds to the current capacity while a negative number removes from the current capacity. For exact capacity, you must specify a positive value.
	ScalingAdjustment int `pulumi:"scalingAdjustment"`
}

Represents a step adjustment for a StepScalingPolicyConfiguration. Describes an adjustment based on the difference between the value of the aggregated CloudWatch metric and the breach threshold that you've defined for the alarm.

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.
	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.
	MetricIntervalUpperBound pulumi.Float64PtrInput `pulumi:"metricIntervalUpperBound"`
	// The amount by which to scale, based on the specified adjustment type. A positive value adds to the current capacity while a negative number removes from the current capacity. For exact capacity, you must specify a positive value.
	ScalingAdjustment pulumi.IntInput `pulumi:"scalingAdjustment"`
}

Represents a step adjustment for a StepScalingPolicyConfiguration. Describes an adjustment based on the difference between the value of the aggregated CloudWatch metric and the breach threshold that you've defined for the alarm.

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 }

Represents a step adjustment for a StepScalingPolicyConfiguration. Describes an adjustment based on the difference between the value of the aggregated CloudWatch metric and the breach threshold that you've defined for the alarm.

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.

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.

func (ScalingPolicyStepAdjustmentOutput) ScalingAdjustment

func (o ScalingPolicyStepAdjustmentOutput) ScalingAdjustment() pulumi.IntOutput

The amount by which to scale, based on the specified adjustment type. A positive value adds to the current capacity while a negative number removes from the current capacity. For exact capacity, you must specify a positive value.

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 how the ScalingAdjustment value in a StepAdjustment is interpreted.
	AdjustmentType *string `pulumi:"adjustmentType"`
	// The amount of time, in seconds, to wait for a previous scaling activity to take effect.
	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.
	MinAdjustmentMagnitude *int `pulumi:"minAdjustmentMagnitude"`
	// A set of adjustments that enable you to scale based on the size of the alarm breach.
	StepAdjustments []ScalingPolicyStepAdjustment `pulumi:"stepAdjustments"`
}

A step scaling policy.

type ScalingPolicyStepScalingPolicyConfigurationArgs

type ScalingPolicyStepScalingPolicyConfigurationArgs struct {
	// Specifies how the ScalingAdjustment value in a StepAdjustment is interpreted.
	AdjustmentType pulumi.StringPtrInput `pulumi:"adjustmentType"`
	// The amount of time, in seconds, to wait for a previous scaling activity to take effect.
	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.
	MinAdjustmentMagnitude pulumi.IntPtrInput `pulumi:"minAdjustmentMagnitude"`
	// A set of adjustments that enable you to scale based on the size of the alarm breach.
	StepAdjustments ScalingPolicyStepAdjustmentArrayInput `pulumi:"stepAdjustments"`
}

A step scaling policy.

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 }

A step scaling policy.

func (ScalingPolicyStepScalingPolicyConfigurationOutput) AdjustmentType

Specifies how the ScalingAdjustment value in a StepAdjustment is interpreted.

func (ScalingPolicyStepScalingPolicyConfigurationOutput) Cooldown

The amount of time, in seconds, to wait for a previous scaling activity to take effect.

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.

func (ScalingPolicyStepScalingPolicyConfigurationOutput) StepAdjustments

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

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 how the ScalingAdjustment value in a StepAdjustment is interpreted.

func (ScalingPolicyStepScalingPolicyConfigurationPtrOutput) Cooldown

The amount of time, in seconds, to wait for a previous scaling activity to take effect.

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.

func (ScalingPolicyStepScalingPolicyConfigurationPtrOutput) StepAdjustments

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

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.
	Dimensions []ScalingPolicyTargetTrackingMetricDimension `pulumi:"dimensions"`
	// The name of the metric.
	MetricName *string `pulumi:"metricName"`
	// The namespace of the metric.
	Namespace *string `pulumi:"namespace"`
}

Represents a specific metric.

type ScalingPolicyTargetTrackingMetricArgs added in v0.85.0

type ScalingPolicyTargetTrackingMetricArgs struct {
	// The dimensions for the metric.
	Dimensions ScalingPolicyTargetTrackingMetricDimensionArrayInput `pulumi:"dimensions"`
	// The name of the metric.
	MetricName pulumi.StringPtrInput `pulumi:"metricName"`
	// The namespace of the metric.
	Namespace pulumi.StringPtrInput `pulumi:"namespace"`
}

Represents a specific metric.

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.
	Expression *string `pulumi:"expression"`
	// A short name that identifies the object's results in the response.
	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.
	MetricStat *ScalingPolicyTargetTrackingMetricStat `pulumi:"metricStat"`
	// Indicates whether to return the timestamps and raw data values of this metric.
	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 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.
	Expression pulumi.StringPtrInput `pulumi:"expression"`
	// A short name that identifies the object's results in the response.
	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.
	MetricStat ScalingPolicyTargetTrackingMetricStatPtrInput `pulumi:"metricStat"`
	// Indicates whether to return the timestamps and raw data values of this metric.
	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 (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.

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.

func (ScalingPolicyTargetTrackingMetricDataQueryOutput) Id added in v0.85.0

A short name that identifies the object's results in the response.

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.

func (ScalingPolicyTargetTrackingMetricDataQueryOutput) ReturnData added in v0.85.0

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

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"`
}

Describes the dimension of a metric.

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"`
}

Describes the dimension of a metric.

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 }

Describes the dimension of a metric.

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.

func (ScalingPolicyTargetTrackingMetricOutput) Dimensions added in v0.85.0

The dimensions for the metric.

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.

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.

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.

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.
	Metric *ScalingPolicyTargetTrackingMetric `pulumi:"metric"`
	// The statistic to return. It can include any CloudWatch statistic or extended statistic.
	Stat *string `pulumi:"stat"`
	// The unit to use for the returned data points.
	Unit *string `pulumi:"unit"`
}

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

type ScalingPolicyTargetTrackingMetricStatArgs added in v0.85.0

type ScalingPolicyTargetTrackingMetricStatArgs struct {
	// The CloudWatch metric to return, including the metric name, namespace, and dimensions.
	Metric ScalingPolicyTargetTrackingMetricPtrInput `pulumi:"metric"`
	// The statistic to return. It can include any CloudWatch statistic or extended statistic.
	Stat pulumi.StringPtrInput `pulumi:"stat"`
	// The unit to use for the returned data points.
	Unit pulumi.StringPtrInput `pulumi:"unit"`
}

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

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, period, and unit.

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.

func (ScalingPolicyTargetTrackingMetricStatOutput) Stat added in v0.85.0

The statistic to return. It can include any CloudWatch statistic or extended statistic.

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.

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.

func (ScalingPolicyTargetTrackingMetricStatPtrOutput) Stat added in v0.85.0

The statistic to return. It can include any CloudWatch statistic or extended statistic.

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.

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.
	ScaleInCooldown *int `pulumi:"scaleInCooldown"`
	// The amount of time, in seconds, to wait for a previous scale-out activity to take effect.
	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"`
}

A target tracking scaling policy.

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.
	ScaleInCooldown pulumi.IntPtrInput `pulumi:"scaleInCooldown"`
	// The amount of time, in seconds, to wait for a previous scale-out activity to take effect.
	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"`
}

A target tracking scaling policy.

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 }

A target tracking scaling policy.

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.

func (ScalingPolicyTargetTrackingScalingPolicyConfigurationOutput) ScaleOutCooldown

The amount of time, in seconds, to wait for a previous scale-out activity to take effect.

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.

func (ScalingPolicyTargetTrackingScalingPolicyConfigurationPtrOutput) ScaleOutCooldown

The amount of time, in seconds, to wait for a previous scale-out activity to take effect.

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