@Stability(value=Stable)
public static interface CfnService.ServiceObservabilityConfigurationProperty
extends software.amazon.jsii.JsiiSerializable
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 software.amazon.awscdk.services.apprunner.*;
ServiceObservabilityConfigurationProperty serviceObservabilityConfigurationProperty = ServiceObservabilityConfigurationProperty.builder()
.observabilityEnabled(false)
// the properties below are optional
.observabilityConfigurationArn("observabilityConfigurationArn")
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnService.ServiceObservabilityConfigurationProperty.Builder
A builder for
CfnService.ServiceObservabilityConfigurationProperty |
static class |
CfnService.ServiceObservabilityConfigurationProperty.Jsii$Proxy
An implementation for
CfnService.ServiceObservabilityConfigurationProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnService.ServiceObservabilityConfigurationProperty.Builder |
builder() |
default String |
getObservabilityConfigurationArn()
The Amazon Resource Name (ARN) of the observability configuration that is associated with the service.
|
Object |
getObservabilityEnabled()
When `true` , an observability configuration resource is associated with the service, and an `ObservabilityConfigurationArn` is specified.
|
@Stability(value=Stable) @NotNull Object getObservabilityEnabled()
@Stability(value=Stable) @Nullable default String getObservabilityConfigurationArn()
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
@Stability(value=Stable) static CfnService.ServiceObservabilityConfigurationProperty.Builder builder()
Copyright © 2022. All rights reserved.