Enum ComputePlatform

java.lang.Object
java.lang.Enum<ComputePlatform>
software.amazon.awscdk.services.codeguruprofiler.ComputePlatform
All Implemented Interfaces:
Serializable, Comparable<ComputePlatform>, java.lang.constant.Constable

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:30:36.918Z") @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();
 
  • Enum Constant Details

    • AWS_LAMBDA

      @Stability(Stable) public static final ComputePlatform AWS_LAMBDA
      Use AWS_LAMBDA if your application runs on AWS Lambda.
    • DEFAULT

      @Stability(Stable) public static final 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.
  • Method Details

    • values

      public static ComputePlatform[] 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

      public static ComputePlatform valueOf(String name)
      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 name
      NullPointerException - if the argument is null