Class CfnServicePropsMixin.InstanceConfigurationProperty
Describes the runtime configuration of an AWS App Runner service instance (scaling unit).
Inherited Members
Namespace: Amazon.CDK.Mixins.Preview.AWS.AppRunner.Mixins
Assembly: Amazon.CDK.Mixins.Preview.dll
Syntax (csharp)
public class CfnServicePropsMixin.InstanceConfigurationProperty : CfnServicePropsMixin.IInstanceConfigurationProperty
Syntax (vb)
Public Class CfnServicePropsMixin.InstanceConfigurationProperty Implements CfnServicePropsMixin.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.Mixins.Preview.AWS.AppRunner.Mixins;
var instanceConfigurationProperty = new InstanceConfigurationProperty {
Cpu = "cpu",
InstanceRoleArn = "instanceRoleArn",
Memory = "memory"
};
Synopsis
Constructors
| InstanceConfigurationProperty() | Describes the runtime configuration of an AWS App Runner service instance (scaling unit). |
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()
Describes the runtime configuration of an AWS App Runner service instance (scaling unit).
public InstanceConfigurationProperty()
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.Mixins.Preview.AWS.AppRunner.Mixins;
var instanceConfigurationProperty = new InstanceConfigurationProperty {
Cpu = "cpu",
InstanceRoleArn = "instanceRoleArn",
Memory = "memory"
};
Properties
Cpu
The number of CPU units reserved for each instance of your App Runner service.
public string? Cpu { get; set; }
Property Value
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
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; }