Class CfnObservabilityConfigurationProps
Properties for defining a CfnObservabilityConfiguration
.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.AppRunner
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnObservabilityConfigurationProps : Object, ICfnObservabilityConfigurationProps
Syntax (vb)
Public Class CfnObservabilityConfigurationProps
Inherits Object
Implements ICfnObservabilityConfigurationProps
Remarks
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 cfnObservabilityConfigurationProps = new CfnObservabilityConfigurationProps {
ObservabilityConfigurationName = "observabilityConfigurationName",
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} },
TraceConfiguration = new TraceConfigurationProperty {
Vendor = "vendor"
}
};
Synopsis
Constructors
CfnObservabilityConfigurationProps() |
Properties
ObservabilityConfigurationName | A name for the observability configuration. |
Tags | A list of metadata items that you can associate with your observability configuration resource. |
TraceConfiguration | The configuration of the tracing feature within this observability configuration. |
Constructors
CfnObservabilityConfigurationProps()
public CfnObservabilityConfigurationProps()
Properties
ObservabilityConfigurationName
A name for the observability configuration.
public string ObservabilityConfigurationName { get; set; }
Property Value
System.String
Remarks
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
A list of metadata items that you can associate with your observability configuration resource.
public ICfnTag[] Tags { get; set; }
Property Value
ICfnTag[]
Remarks
TraceConfiguration
The configuration of the tracing feature within this observability configuration.
public object TraceConfiguration { get; set; }
Property Value
System.Object
Remarks
If you don't specify it, App Runner doesn't enable tracing.