Show / Hide Table of Contents

Class CfnAutoScalingConfigurationProps

Properties for defining a CfnAutoScalingConfiguration.

Inheritance
object
CfnAutoScalingConfigurationProps
Implements
ICfnAutoScalingConfigurationProps
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Amazon.CDK.AWS.AppRunner
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnAutoScalingConfigurationProps : ICfnAutoScalingConfigurationProps
Syntax (vb)
Public Class CfnAutoScalingConfigurationProps Implements ICfnAutoScalingConfigurationProps
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apprunner-autoscalingconfiguration.html

ExampleMetadata: fixture=_generated

Examples
// The code below shows an example of how to instantiate this type.
             // The values are placeholders you should change.
             using Amazon.CDK.AWS.AppRunner;

             var cfnAutoScalingConfigurationProps = new CfnAutoScalingConfigurationProps {
                 AutoScalingConfigurationName = "autoScalingConfigurationName",
                 MaxConcurrency = 123,
                 MaxSize = 123,
                 MinSize = 123,
                 Tags = new [] { new CfnTag {
                     Key = "key",
                     Value = "value"
                 } }
             };

Synopsis

Constructors

CfnAutoScalingConfigurationProps()

Properties for defining a CfnAutoScalingConfiguration.

Properties

AutoScalingConfigurationName

The customer-provided auto scaling configuration name.

MaxConcurrency

The maximum number of concurrent requests that an instance processes.

MaxSize

The maximum number of instances that a service scales up to.

MinSize

The minimum number of instances that App Runner provisions for a service.

Tags

A list of metadata items that you can associate with your auto scaling configuration resource.

Constructors

CfnAutoScalingConfigurationProps()

Properties for defining a CfnAutoScalingConfiguration.

public CfnAutoScalingConfigurationProps()
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apprunner-autoscalingconfiguration.html

ExampleMetadata: fixture=_generated

Examples
// The code below shows an example of how to instantiate this type.
             // The values are placeholders you should change.
             using Amazon.CDK.AWS.AppRunner;

             var cfnAutoScalingConfigurationProps = new CfnAutoScalingConfigurationProps {
                 AutoScalingConfigurationName = "autoScalingConfigurationName",
                 MaxConcurrency = 123,
                 MaxSize = 123,
                 MinSize = 123,
                 Tags = new [] { new CfnTag {
                     Key = "key",
                     Value = "value"
                 } }
             };

Properties

AutoScalingConfigurationName

The customer-provided auto scaling configuration name.

public string? AutoScalingConfigurationName { get; set; }
Property Value

string

Remarks

It can be used in multiple revisions of a configuration.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apprunner-autoscalingconfiguration.html#cfn-apprunner-autoscalingconfiguration-autoscalingconfigurationname

MaxConcurrency

The maximum number of concurrent requests that an instance processes.

public double? MaxConcurrency { get; set; }
Property Value

double?

Remarks

If the number of concurrent requests exceeds this limit, App Runner scales the service up.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apprunner-autoscalingconfiguration.html#cfn-apprunner-autoscalingconfiguration-maxconcurrency

MaxSize

The maximum number of instances that a service scales up to.

public double? MaxSize { get; set; }
Property Value

double?

Remarks

At most MaxSize instances actively serve traffic for your service.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apprunner-autoscalingconfiguration.html#cfn-apprunner-autoscalingconfiguration-maxsize

MinSize

The minimum number of instances that App Runner provisions for a service.

public double? MinSize { get; set; }
Property Value

double?

Remarks

The service always has at least MinSize provisioned instances. Some of them actively serve traffic. The rest of them (provisioned and inactive instances) are a cost-effective compute capacity reserve and are ready to be quickly activated. You pay for memory usage of all the provisioned instances. You pay for CPU usage of only the active subset.

App Runner temporarily doubles the number of provisioned instances during deployments, to maintain the same capacity for both old and new code.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apprunner-autoscalingconfiguration.html#cfn-apprunner-autoscalingconfiguration-minsize

Tags

A list of metadata items that you can associate with your auto scaling configuration resource.

public ICfnTag[]? Tags { get; set; }
Property Value

ICfnTag[]

Remarks

A tag is a key-value pair.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apprunner-autoscalingconfiguration.html#cfn-apprunner-autoscalingconfiguration-tags

Implements

ICfnAutoScalingConfigurationProps
Back to top Generated by DocFX