aws-cdk-lib.aws_apprunner.CfnObservabilityConfigurationProps

interface CfnObservabilityConfigurationProps

LanguageType name
.NETAmazon.CDK.AWS.AppRunner.CfnObservabilityConfigurationProps
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsapprunner#CfnObservabilityConfigurationProps
Javasoftware.amazon.awscdk.services.apprunner.CfnObservabilityConfigurationProps
Pythonaws_cdk.aws_apprunner.CfnObservabilityConfigurationProps
TypeScript aws-cdk-lib » aws_apprunner » CfnObservabilityConfigurationProps

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 { aws_apprunner as apprunner } from 'aws-cdk-lib';
const cfnObservabilityConfigurationProps: apprunner.CfnObservabilityConfigurationProps = {
  observabilityConfigurationName: 'observabilityConfigurationName',
  tags: [{
    key: 'key',
    value: 'value',
  }],
  traceConfiguration: {
    vendor: 'vendor',
  },
};

Properties

NameTypeDescription
observabilityConfigurationName?stringA name for the observability configuration.
tags?CfnTag[]A list of metadata items that you can associate with your observability configuration resource.
traceConfiguration?IResolvable | TraceConfigurationPropertyThe configuration of the tracing feature within this observability configuration.

observabilityConfigurationName?

Type: string (optional)

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.


tags?

Type: CfnTag[] (optional)

A list of metadata items that you can associate with your observability configuration resource.

A tag is a key-value pair.


traceConfiguration?

Type: IResolvable | TraceConfigurationProperty (optional)

The configuration of the tracing feature within this observability configuration.

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