Class ComputePlatform
The compute platform of the profiling group.
Inheritance
System.Object
ComputePlatform
Namespace: Amazon.CDK.AWS.CodeGuruProfiler
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public sealed class ComputePlatform : Enum
Syntax (vb)
Public NotInheritable Class ComputePlatform
Inherits
Enum
Remarks
ExampleMetadata: infused
Examples
var profilingGroup = new ProfilingGroup(this, "MyProfilingGroup", new ProfilingGroupProps {
ComputePlatform = ComputePlatform.AWS_LAMBDA
});
Synopsis
Fields
AWS_LAMBDA | Use AWS_LAMBDA if your application runs on AWS Lambda. |
DEFAULT | Use Default if your application runs on a compute platform that is not AWS Lambda, such an Amazon EC2 instance, an on-premises server, or a different platform. |
value__ |
Fields
AWS_LAMBDA
Use AWS_LAMBDA if your application runs on AWS Lambda.
public const ComputePlatform AWS_LAMBDA
Field Value
Type | Description |
---|---|
ComputePlatform |
DEFAULT
Use Default if your application runs on a compute platform that is not AWS Lambda, such an Amazon EC2 instance, an on-premises server, or a different platform.
public const ComputePlatform DEFAULT
Field Value
Type | Description |
---|---|
ComputePlatform |
value__
public int value__
Field Value
Type | Description |
---|---|
System.Int32 |