AWS SDK Version 4 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Create an App Runner observability configuration resource. App Runner requires this resource when you create or update App Runner services and you want to enable non-default observability features. You can share an observability configuration across multiple services.

Create multiple revisions of a configuration by calling this action multiple times using the same ObservabilityConfigurationName. The call returns incremental ObservabilityConfigurationRevision values. When you create a service and configure an observability configuration resource, the service uses the latest active revision of the observability configuration by default. You can optionally configure the service to use a specific revision.

The observability configuration resource is designed to configure multiple features (currently one feature, tracing). This action takes optional parameters that describe the configuration of these features (currently one parameter, TraceConfiguration). If you don't specify a feature parameter, App Runner doesn't enable the feature.

Note:

For .NET Core this operation is only available in asynchronous form. Please refer to CreateObservabilityConfigurationAsync.

Namespace: Amazon.AppRunner
Assembly: AWSSDK.AppRunner.dll
Version: 3.x.y.z

Syntax

C#
public abstract CreateObservabilityConfigurationResponse CreateObservabilityConfiguration(
         CreateObservabilityConfigurationRequest request
)

Parameters

request
Type: Amazon.AppRunner.Model.CreateObservabilityConfigurationRequest

Container for the necessary parameters to execute the CreateObservabilityConfiguration service method.

Return Value


The response from the CreateObservabilityConfiguration service method, as returned by AppRunner.

Exceptions

ExceptionCondition
InternalServiceErrorException An unexpected service exception occurred.
InvalidRequestException One or more input parameters aren't valid. Refer to the API action's document page, correct the input parameters, and try the action again.
ServiceQuotaExceededException App Runner can't create this resource. You've reached your account quota for this resource type. For App Runner per-resource quotas, see App Runner endpoints and quotas in the Amazon Web Services General Reference.

Version Information

.NET Framework:
Supported in: 4.7.2 and newer

See Also