ObservabilityConfigurationProps
- class aws_cdk.aws_apprunner_alpha.ObservabilityConfigurationProps(*, trace_configuration_vendor, observability_configuration_name=None)
Bases:
object
(experimental) Properties of the AppRunner Observability configuration.
- Parameters:
trace_configuration_vendor (
TraceConfigurationVendor
) – (experimental) The implementation provider chosen for tracing App Runner services.observability_configuration_name (
Optional
[str
]) – (experimental) The name for the ObservabilityConfiguration. Default: - a name generated by CloudFormation
- Stability:
experimental
- ExampleMetadata:
infused
Example:
observability_configuration = apprunner.ObservabilityConfiguration(self, "ObservabilityConfiguration", observability_configuration_name="MyObservabilityConfiguration", trace_configuration_vendor=apprunner.TraceConfigurationVendor.AWSXRAY ) apprunner.Service(self, "DemoService", source=apprunner.Source.from_ecr_public( image_configuration=apprunner.ImageConfiguration(port=8000), image_identifier="public.ecr.aws/aws-containers/hello-app-runner:latest" ), observability_configuration=observability_configuration )
Attributes
- observability_configuration_name
(experimental) The name for the ObservabilityConfiguration.
- Default:
a name generated by CloudFormation
- Stability:
experimental
- trace_configuration_vendor
(experimental) The implementation provider chosen for tracing App Runner services.
- Stability:
experimental