aws-cdk-lib.aws_apprunner.CfnService.ServiceObservabilityConfigurationProperty

interface ServiceObservabilityConfigurationProperty

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

Describes the observability configuration of an AWS App Runner service.

These are additional observability features, like tracing, that you choose to enable. They're configured in a separate resource that you associate with your service.

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 serviceObservabilityConfigurationProperty: apprunner.CfnService.ServiceObservabilityConfigurationProperty = {
  observabilityEnabled: false,

  // the properties below are optional
  observabilityConfigurationArn: 'observabilityConfigurationArn',
};

Properties

NameTypeDescription
observabilityEnabledboolean | IResolvableWhen true , an observability configuration resource is associated with the service, and an ObservabilityConfigurationArn is specified.
observabilityConfigurationArn?stringThe Amazon Resource Name (ARN) of the observability configuration that is associated with the service.

observabilityEnabled

Type: boolean | IResolvable

When true , an observability configuration resource is associated with the service, and an ObservabilityConfigurationArn is specified.


observabilityConfigurationArn?

Type: string (optional)

The Amazon Resource Name (ARN) of the observability configuration that is associated with the service.

Specified only when ObservabilityEnabled is true .

Specify an ARN with a name and a revision number to associate that revision. For example: arn:aws:apprunner:us-east-1:123456789012:observabilityconfiguration/xray-tracing/3

Specify just the name to associate the latest revision. For example: arn:aws:apprunner:us-east-1:123456789012:observabilityconfiguration/xray-tracing