Show / Hide Table of Contents

Interface CfnService.IServiceObservabilityConfigurationProperty

Describes the observability configuration of an AWS App Runner service.

Namespace: Amazon.CDK.AWS.AppRunner
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface CfnService.IServiceObservabilityConfigurationProperty
Syntax (vb)
Public Interface CfnService.IServiceObservabilityConfigurationProperty
Remarks

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.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apprunner-service-serviceobservabilityconfiguration.html

ExampleMetadata: fixture=_generated

Examples
// The code below shows an example of how to instantiate this type.
             // The values are placeholders you should change.
             using Amazon.CDK.AWS.AppRunner;

             var serviceObservabilityConfigurationProperty = new ServiceObservabilityConfigurationProperty {
                 ObservabilityEnabled = false,

                 // the properties below are optional
                 ObservabilityConfigurationArn = "observabilityConfigurationArn"
             };

Synopsis

Properties

ObservabilityConfigurationArn

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

ObservabilityEnabled

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

Properties

ObservabilityConfigurationArn

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

string? ObservabilityConfigurationArn { get; }
Property Value

string

Remarks

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

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apprunner-service-serviceobservabilityconfiguration.html#cfn-apprunner-service-serviceobservabilityconfiguration-observabilityconfigurationarn

ObservabilityEnabled

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

object ObservabilityEnabled { get; }
Property Value

object

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apprunner-service-serviceobservabilityconfiguration.html#cfn-apprunner-service-serviceobservabilityconfiguration-observabilityenabled

Type union: either bool or IResolvable

Back to top Generated by DocFX