Enum ComputePlatform
- All Implemented Interfaces:
Serializable
,Comparable<ComputePlatform>
,java.lang.constant.Constable
@Generated(value="jsii-pacmak/1.102.0 (build e354887)",
date="2024-09-10T01:10:06.665Z")
@Stability(Stable)
public enum ComputePlatform
extends Enum<ComputePlatform>
The compute platform of the profiling group.
Example:
ProfilingGroup profilingGroup = ProfilingGroup.Builder.create(this, "MyProfilingGroup") .computePlatform(ComputePlatform.AWS_LAMBDA) .build();
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionUse AWS_LAMBDA if your application runs on AWS Lambda.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. -
Method Summary
Modifier and TypeMethodDescriptionstatic ComputePlatform
Returns the enum constant of this type with the specified name.static ComputePlatform[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
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.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-