@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:36.605Z") @Stability(value=Stable) public interface CfnObservabilityConfigurationProps extends software.amazon.jsii.JsiiSerializable
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();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnObservabilityConfigurationProps.Builder
A builder for
CfnObservabilityConfigurationProps |
static class |
CfnObservabilityConfigurationProps.Jsii$Proxy
An implementation for
CfnObservabilityConfigurationProps |
| Modifier and Type | Method and Description |
|---|---|
static CfnObservabilityConfigurationProps.Builder |
builder() |
default String |
getObservabilityConfigurationName()
A name for the observability configuration.
|
default List<CfnTag> |
getTags()
A list of metadata items that you can associate with your observability configuration resource.
|
default Object |
getTraceConfiguration()
The configuration of the tracing feature within this observability configuration.
|
@Stability(value=Stable) @Nullable default String getObservabilityConfigurationName()
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
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.
@Stability(value=Stable) @Nullable default List<CfnTag> getTags()
A tag is a key-value pair.
@Stability(value=Stable) @Nullable default Object getTraceConfiguration()
If you don't specify it, App Runner doesn't enable tracing.
@Stability(value=Stable) static CfnObservabilityConfigurationProps.Builder builder()
Copyright © 2022. All rights reserved.