Class AutoScalingConfiguration
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.Resource
software.amazon.awscdk.services.apprunner.alpha.AutoScalingConfiguration
- All Implemented Interfaces:
IResource
,IAutoScalingConfiguration
,software.amazon.jsii.JsiiSerializable
,software.constructs.IConstruct
,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2024-11-22T02:24:11.359Z")
@Stability(Experimental)
public class AutoScalingConfiguration
extends Resource
implements IAutoScalingConfiguration
(experimental) The App Runner Auto Scaling Configuration.
Example:
AutoScalingConfiguration autoScalingConfiguration = AutoScalingConfiguration.Builder.create(this, "AutoScalingConfiguration") .autoScalingConfigurationName("MyAutoScalingConfiguration") .maxConcurrency(150) .maxSize(20) .minSize(5) .build(); Service.Builder.create(this, "DemoService") .source(Source.fromEcrPublic(EcrPublicProps.builder() .imageConfiguration(ImageConfiguration.builder().port(8000).build()) .imageIdentifier("public.ecr.aws/aws-containers/hello-app-runner:latest") .build())) .autoScalingConfiguration(autoScalingConfiguration) .build();
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
(experimental) A fluent builder forAutoScalingConfiguration
.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.amazon.awscdk.services.apprunner.alpha.IAutoScalingConfiguration
IAutoScalingConfiguration.Jsii$Default, IAutoScalingConfiguration.Jsii$Proxy
Nested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$Default
Nested classes/interfaces inherited from interface software.amazon.awscdk.IResource
IResource.Jsii$Default
-
Constructor Summary
ModifierConstructorDescriptionprotected
AutoScalingConfiguration
(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protected
AutoScalingConfiguration
(software.amazon.jsii.JsiiObjectRef objRef) AutoScalingConfiguration
(software.constructs.Construct scope, String id) AutoScalingConfiguration
(software.constructs.Construct scope, String id, AutoScalingConfigurationProps props) -
Method Summary
Modifier and TypeMethodDescriptionstatic IAutoScalingConfiguration
(experimental) Imports an App Runner Auto Scaling Configuration from its ARN.static IAutoScalingConfiguration
fromAutoScalingConfigurationAttributes
(software.constructs.Construct scope, String id, AutoScalingConfigurationAttributes attrs) (experimental) Imports an App Runner Auto Scaling Configuration from attributes.(experimental) The ARN of the Auto Scaling Configuration.(experimental) The name of the Auto Scaling Configuration.(experimental) The revision of the Auto Scaling Configuration.Methods inherited from class software.amazon.awscdk.Resource
applyRemovalPolicy, generatePhysicalName, getEnv, getPhysicalName, getResourceArnAttribute, getResourceNameAttribute, getStack, isOwnedResource, isResource
Methods inherited from class software.constructs.Construct
getNode, isConstruct, toString
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface software.constructs.IConstruct
getNode
Methods inherited from interface software.amazon.awscdk.IResource
applyRemovalPolicy, getEnv, getStack
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Constructor Details
-
AutoScalingConfiguration
protected AutoScalingConfiguration(software.amazon.jsii.JsiiObjectRef objRef) -
AutoScalingConfiguration
protected AutoScalingConfiguration(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
AutoScalingConfiguration
@Stability(Experimental) public AutoScalingConfiguration(@NotNull software.constructs.Construct scope, @NotNull String id, @Nullable AutoScalingConfigurationProps props) - Parameters:
scope
- This parameter is required.id
- This parameter is required.props
-
-
AutoScalingConfiguration
@Stability(Experimental) public AutoScalingConfiguration(@NotNull software.constructs.Construct scope, @NotNull String id) - Parameters:
scope
- This parameter is required.id
- This parameter is required.
-
-
Method Details
-
fromArn
@Stability(Experimental) @NotNull public static IAutoScalingConfiguration fromArn(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull String autoScalingConfigurationArn) (experimental) Imports an App Runner Auto Scaling Configuration from its ARN.- Parameters:
scope
- This parameter is required.id
- This parameter is required.autoScalingConfigurationArn
- This parameter is required.
-
fromAutoScalingConfigurationAttributes
@Stability(Experimental) @NotNull public static IAutoScalingConfiguration fromAutoScalingConfigurationAttributes(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull AutoScalingConfigurationAttributes attrs) (experimental) Imports an App Runner Auto Scaling Configuration from attributes.- Parameters:
scope
- This parameter is required.id
- This parameter is required.attrs
- This parameter is required.
-
getAutoScalingConfigurationArn
(experimental) The ARN of the Auto Scaling Configuration.- Specified by:
getAutoScalingConfigurationArn
in interfaceIAutoScalingConfiguration
-
getAutoScalingConfigurationName
(experimental) The name of the Auto Scaling Configuration.- Specified by:
getAutoScalingConfigurationName
in interfaceIAutoScalingConfiguration
-
getAutoScalingConfigurationRevision
(experimental) The revision of the Auto Scaling Configuration.- Specified by:
getAutoScalingConfigurationRevision
in interfaceIAutoScalingConfiguration
-