Skip to content
v2.277.0

Experimental

@aws-cdk/aws-apprunner-alpha is an experimental (alpha) package: its API may change in any release, without a major version bump.

AutoScalingConfigurationAttributes Struct ​

Attributes for the App Runner Auto Scaling Configuration.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as apprunner_alpha from '@aws-cdk/aws-apprunner-alpha';
const autoScalingConfigurationAttributes: apprunner_alpha.AutoScalingConfigurationAttributes = {
  autoScalingConfigurationName: 'autoScalingConfigurationName',
  autoScalingConfigurationRevision: 123,
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_apprunner_alpha as apprunner_alpha

auto_scaling_configuration_attributes = apprunner_alpha.AutoScalingConfigurationAttributes(
    auto_scaling_configuration_name="autoScalingConfigurationName",
    auto_scaling_configuration_revision=123
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.apprunner.alpha.*;

AutoScalingConfigurationAttributes autoScalingConfigurationAttributes = AutoScalingConfigurationAttributes.builder()
        .autoScalingConfigurationName("autoScalingConfigurationName")
        .autoScalingConfigurationRevision(123)
        .build();
csharp
// Install: dotnet add package Amazon.CDK.AWS.AppRunner.Alpha
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.AppRunner.Alpha;

var autoScalingConfigurationAttributes = new AutoScalingConfigurationAttributes {
    AutoScalingConfigurationName = "autoScalingConfigurationName",
    AutoScalingConfigurationRevision = 123
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdkapprunneralpha/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import apprunner_alpha "github.com/aws/aws-cdk-go/awscdkapprunneralpha"

autoScalingConfigurationAttributes := &AutoScalingConfigurationAttributes{
	AutoScalingConfigurationName: jsii.String("autoScalingConfigurationName"),
	AutoScalingConfigurationRevision: jsii.Number(123),
}

Properties ​

autoScalingConfigurationNamestringauto_scaling_configuration_namestrautoScalingConfigurationNameStringAutoScalingConfigurationNamestringAutoScalingConfigurationName*stringrequired#
The name of the Auto Scaling Configuration.
autoScalingConfigurationRevisionnumberauto_scaling_configuration_revisionint | floatautoScalingConfigurationRevisionNumberAutoScalingConfigurationRevisiondoubleAutoScalingConfigurationRevision*float64required#
The revision of the Auto Scaling Configuration.