Show / Hide Table of Contents

Class CfnServicePropsMixin.InstanceConfigurationProperty

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

Inheritance
object
CfnServicePropsMixin.InstanceConfigurationProperty
Implements
CfnServicePropsMixin.IInstanceConfigurationProperty
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
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

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apprunner-service-instanceconfiguration.html

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

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apprunner-service-instanceconfiguration.html

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

string

Remarks

Default: 1 vCPU

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apprunner-service-instanceconfiguration.html#cfn-apprunner-service-instanceconfiguration-cpu

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

string

Remarks

These are permissions that your code needs when it calls any AWS APIs.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apprunner-service-instanceconfiguration.html#cfn-apprunner-service-instanceconfiguration-instancerolearn

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

string

Remarks

Default: 2 GB

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apprunner-service-instanceconfiguration.html#cfn-apprunner-service-instanceconfiguration-memory

Implements

CfnServicePropsMixin.IInstanceConfigurationProperty
Back to top Generated by DocFX