Show / Hide Table of Contents

Interface ICfnAutoScalingConfigurationProps

Properties for defining a CfnAutoScalingConfiguration.

Namespace: Amazon.CDK.AWS.AppRunner
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface ICfnAutoScalingConfigurationProps
Syntax (vb)
Public Interface 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

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.

Properties

AutoScalingConfigurationName

The customer-provided auto scaling configuration name.

string? AutoScalingConfigurationName { get; }
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.

double? MaxConcurrency { get; }
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.

double? MaxSize { get; }
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.

double? MinSize { get; }
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.

ICfnTag[]? Tags { get; }
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

Back to top Generated by DocFX