Interface CfnObservabilityConfigurationProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnObservabilityConfigurationProps.Jsii$Proxy
CfnObservabilityConfiguration.
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.*;
CfnObservabilityConfigurationProps cfnObservabilityConfigurationProps = CfnObservabilityConfigurationProps.builder()
.observabilityConfigurationName("observabilityConfigurationName")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.traceConfiguration(TraceConfigurationProperty.builder()
.vendor("vendor")
.build())
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnObservabilityConfigurationPropsstatic final classAn implementation forCfnObservabilityConfigurationProps -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default StringA name for the observability configuration.getTags()A list of metadata items that you can associate with your observability configuration resource.default ObjectThe configuration of the tracing feature within this observability configuration.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getObservabilityConfigurationName
A name for the observability configuration.When you use it for the first time in an AWS Region , App Runner creates revision number
1of this name. When you use the same name in subsequent calls, App Runner creates incremental revisions of the configuration.The name
DefaultConfigurationis 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.
- See Also:
-
getTags
A list of metadata items that you can associate with your observability configuration resource.A tag is a key-value pair.
- See Also:
-
getTraceConfiguration
The configuration of the tracing feature within this observability configuration.If you don't specify it, App Runner doesn't enable tracing.
Returns union: either
IResolvableorCfnObservabilityConfiguration.TraceConfigurationProperty- See Also:
-
builder
-