AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Describes the runtime configuration of an App Runner service instance (scaling unit).

Inheritance Hierarchy

System.Object
  Amazon.AppRunner.Model.InstanceConfiguration

Namespace: Amazon.AppRunner.Model
Assembly: AWSSDK.AppRunner.dll
Version: 3.x.y.z

Syntax

C#
public class InstanceConfiguration

The InstanceConfiguration type exposes the following members

Constructors

NameDescription
Public Method InstanceConfiguration()

Properties

NameTypeDescription
Public Property Cpu System.String

Gets and sets the property Cpu.

The number of CPU units reserved for each instance of your App Runner service.

Default: 1 vCPU

Public Property InstanceRoleArn System.String

Gets and sets the property InstanceRoleArn.

The Amazon Resource Name (ARN) of an IAM role that provides permissions to your App Runner service. These are permissions that your code needs when it calls any Amazon Web Services APIs.

Public Property Memory System.String

Gets and sets the property Memory.

The amount of memory, in MB or GB, reserved for each instance of your App Runner service.

Default: 2 GB

Version Information

.NET Core App:
Supported in: 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5, 4.0, 3.5