Class CfnService.InstanceConfigurationProperty
Describes the runtime configuration of an AWS App Runner service instance (scaling unit).
Inheritance
Implements
Namespace: Amazon.CDK.AWS.AppRunner
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class InstanceConfigurationProperty : Object, CfnService.IInstanceConfigurationProperty
Syntax (vb)
Public Class InstanceConfigurationProperty
Inherits Object
Implements CfnService.IInstanceConfigurationProperty
Remarks
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 instanceConfigurationProperty = new InstanceConfigurationProperty {
Cpu = "cpu",
InstanceRoleArn = "instanceRoleArn",
Memory = "memory"
};
Synopsis
Constructors
InstanceConfigurationProperty() |
Properties
Cpu | The number of CPU units reserved for each instance of your App Runner service. |
InstanceRoleArn | The Amazon Resource Name (ARN) of an IAM role that provides permissions to your App Runner service. |
Memory | The amount of memory, in MB or GB, reserved for each instance of your App Runner service. |
Constructors
InstanceConfigurationProperty()
public InstanceConfigurationProperty()
Properties
Cpu
The number of CPU units reserved for each instance of your App Runner service.
public string Cpu { get; set; }
Property Value
System.String
Remarks
InstanceRoleArn
The Amazon Resource Name (ARN) of an IAM role that provides permissions to your App Runner service.
public string InstanceRoleArn { get; set; }
Property Value
System.String
Remarks
These are permissions that your code needs when it calls any AWS APIs.
Memory
The amount of memory, in MB or GB, reserved for each instance of your App Runner service.
public string Memory { get; set; }
Property Value
System.String