Enum TraceConfigurationVendor

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

@Generated(value="jsii-pacmak/1.101.0 (build b95fe5d)", date="2024-07-22T22:43:00.008Z") @Stability(Experimental) public enum TraceConfigurationVendor extends Enum<TraceConfigurationVendor>
(experimental) The implementation provider chosen for tracing App Runner services.

Example:

 ObservabilityConfiguration observabilityConfiguration = ObservabilityConfiguration.Builder.create(this, "ObservabilityConfiguration")
         .observabilityConfigurationName("MyObservabilityConfiguration")
         .traceConfigurationVendor(TraceConfigurationVendor.AWSXRAY)
         .build();
 Service.Builder.create(this, "DemoService")
         .source(Source.fromEcrPublic(EcrPublicProps.builder()
                 .imageConfiguration(ImageConfiguration.builder().port(8000).build())
                 .imageIdentifier("public.ecr.aws/aws-containers/hello-app-runner:latest")
                 .build()))
         .observabilityConfiguration(observabilityConfiguration)
         .build();
 

See Also:
  • Enum Constant Details

    • AWSXRAY

      @Stability(Experimental) public static final TraceConfigurationVendor AWSXRAY
      (experimental) Tracing (X-Ray).
  • Method Details

    • values

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