Interface CfnServicePropsMixin.ServiceObservabilityConfigurationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnServicePropsMixin.ServiceObservabilityConfigurationProperty.Jsii$Proxy
- Enclosing class:
CfnServicePropsMixin
@Stability(Stable)
public static interface CfnServicePropsMixin.ServiceObservabilityConfigurationProperty
extends software.amazon.jsii.JsiiSerializable
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 software.amazon.awscdk.mixins.preview.services.apprunner.mixins.*;
ServiceObservabilityConfigurationProperty serviceObservabilityConfigurationProperty = ServiceObservabilityConfigurationProperty.builder()
.observabilityConfigurationArn("observabilityConfigurationArn")
.observabilityEnabled(false)
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classstatic final classAn implementation forCfnServicePropsMixin.ServiceObservabilityConfigurationProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default StringThe Amazon Resource Name (ARN) of the observability configuration that is associated with the service.default ObjectWhentrue, an observability configuration resource is associated with the service, and anObservabilityConfigurationArnis specified.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getObservabilityConfigurationArn
The Amazon Resource Name (ARN) of the observability configuration that is associated with the service.Specified only when
ObservabilityEnabledistrue.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/3Specify just the name to associate the latest revision. For example:
arn:aws:apprunner:us-east-1:123456789012:observabilityconfiguration/xray-tracing- See Also:
-
getObservabilityEnabled
Whentrue, an observability configuration resource is associated with the service, and anObservabilityConfigurationArnis specified.Returns union: either
BooleanorIResolvable- See Also:
-
builder
@Stability(Stable) static CfnServicePropsMixin.ServiceObservabilityConfigurationProperty.Builder builder()
-