Class AutoScalingConfiguration
(experimental) The App Runner Auto Scaling Configuration.
Inherited Members
Namespace: Amazon.CDK.AWS.AppRunner.Alpha
Assembly: Amazon.CDK.AWS.AppRunner.Alpha.dll
Syntax (csharp)
public class AutoScalingConfiguration : Resource, IAutoScalingConfiguration, IResource
Syntax (vb)
Public Class AutoScalingConfiguration
Inherits Resource
Implements IAutoScalingConfiguration, IResource
Remarks
Stability: Experimental
Resource: AWS::AppRunner::AutoScalingConfiguration
ExampleMetadata: infused
Examples
var autoScalingConfiguration = new AutoScalingConfiguration(this, "AutoScalingConfiguration", new AutoScalingConfigurationProps {
AutoScalingConfigurationName = "MyAutoScalingConfiguration",
MaxConcurrency = 150,
MaxSize = 20,
MinSize = 5
});
new Service(this, "DemoService", new ServiceProps {
Source = Source.FromEcrPublic(new EcrPublicProps {
ImageConfiguration = new ImageConfiguration { Port = 8000 },
ImageIdentifier = "public.ecr.aws/aws-containers/hello-app-runner:latest"
}),
AutoScalingConfiguration = autoScalingConfiguration
});
Synopsis
Constructors
AutoScalingConfiguration(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
AutoScalingConfiguration(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
AutoScalingConfiguration(Construct, String, IAutoScalingConfigurationProps) |
Properties
AutoScalingConfigurationArn | (experimental) The ARN of the Auto Scaling Configuration. |
AutoScalingConfigurationName | (experimental) The name of the Auto Scaling Configuration. |
AutoScalingConfigurationRevision | (experimental) The revision of the Auto Scaling Configuration. |
Methods
FromArn(Construct, String, String) | (experimental) Imports an App Runner Auto Scaling Configuration from its ARN. |
FromAutoScalingConfigurationAttributes(Construct, String, IAutoScalingConfigurationAttributes) | (experimental) Imports an App Runner Auto Scaling Configuration from attributes. |
Constructors
AutoScalingConfiguration(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected AutoScalingConfiguration(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
AutoScalingConfiguration(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected AutoScalingConfiguration(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
AutoScalingConfiguration(Construct, String, IAutoScalingConfigurationProps)
public AutoScalingConfiguration(Construct scope, string id, IAutoScalingConfigurationProps props = null)
Parameters
- scope Constructs.Construct
- id System.String
- props IAutoScalingConfigurationProps
Remarks
Stability: Experimental
Properties
AutoScalingConfigurationArn
(experimental) The ARN of the Auto Scaling Configuration.
public virtual string AutoScalingConfigurationArn { get; }
Property Value
System.String
Remarks
Stability: Experimental
Attribute: true
AutoScalingConfigurationName
(experimental) The name of the Auto Scaling Configuration.
public virtual string AutoScalingConfigurationName { get; }
Property Value
System.String
Remarks
Stability: Experimental
Attribute: true
AutoScalingConfigurationRevision
(experimental) The revision of the Auto Scaling Configuration.
public virtual double AutoScalingConfigurationRevision { get; }
Property Value
System.Double
Remarks
Stability: Experimental
Attribute: true
Methods
FromArn(Construct, String, String)
(experimental) Imports an App Runner Auto Scaling Configuration from its ARN.
public static IAutoScalingConfiguration FromArn(Construct scope, string id, string autoScalingConfigurationArn)
Parameters
- scope Constructs.Construct
- id System.String
- autoScalingConfigurationArn System.String
Returns
Remarks
Stability: Experimental
FromAutoScalingConfigurationAttributes(Construct, String, IAutoScalingConfigurationAttributes)
(experimental) Imports an App Runner Auto Scaling Configuration from attributes.
public static IAutoScalingConfiguration FromAutoScalingConfigurationAttributes(Construct scope, string id, IAutoScalingConfigurationAttributes attrs)
Parameters
- scope Constructs.Construct
- id System.String
- attrs IAutoScalingConfigurationAttributes
Returns
Remarks
Stability: Experimental