Interface CfnObservabilityConfigurationProps

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnObservabilityConfigurationProps.Jsii$Proxy

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:30:39.987Z") @Stability(Stable) public interface CfnObservabilityConfigurationProps extends software.amazon.jsii.JsiiSerializable
Properties for defining a CfnObservabilityConfiguration.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.apprunner.*;
 CfnObservabilityConfigurationProps cfnObservabilityConfigurationProps = CfnObservabilityConfigurationProps.builder()
         .observabilityConfigurationName("observabilityConfigurationName")
         .tags(List.of(CfnTag.builder()
                 .key("key")
                 .value("value")
                 .build()))
         .traceConfiguration(TraceConfigurationProperty.builder()
                 .vendor("vendor")
                 .build())
         .build();
 
  • Method Details

    • getObservabilityConfigurationName

      @Stability(Stable) @Nullable default String getObservabilityConfigurationName()
      A name for the observability configuration.

      When you use it for the first time in an AWS Region , App Runner creates revision number 1 of this name. When you use the same name in subsequent calls, App Runner creates incremental revisions of the configuration.

      The name DefaultConfiguration is reserved. You can't use it to create a new observability configuration, and you can't create a revision of it.

      When you want to use your own observability configuration for your App Runner service, create a configuration with a different name , and then provide it when you create or update your service.

      If you don't specify a name, AWS CloudFormation generates a name for your observability configuration.

    • getTags

      @Stability(Stable) @Nullable default List<CfnTag> getTags()
      A list of metadata items that you can associate with your observability configuration resource.

      A tag is a key-value pair.

    • getTraceConfiguration

      @Stability(Stable) @Nullable default Object getTraceConfiguration()
      The configuration of the tracing feature within this observability configuration.

      If you don't specify it, App Runner doesn't enable tracing.

    • builder

      @Stability(Stable) static CfnObservabilityConfigurationProps.Builder builder()
      Returns:
      a CfnObservabilityConfigurationProps.Builder of CfnObservabilityConfigurationProps