#[non_exhaustive]pub struct ServiceObservabilityConfiguration {
pub observability_enabled: bool,
pub observability_configuration_arn: Option<String>,
}
Expand description
Describes the observability configuration of an 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.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.observability_enabled: bool
When true
, an observability configuration resource is associated with the service, and an ObservabilityConfigurationArn
is specified.
observability_configuration_arn: Option<String>
The Amazon Resource Name (ARN) of the observability configuration that is associated with the service. 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
Implementations§
source§impl ServiceObservabilityConfiguration
impl ServiceObservabilityConfiguration
sourcepub fn observability_enabled(&self) -> bool
pub fn observability_enabled(&self) -> bool
When true
, an observability configuration resource is associated with the service, and an ObservabilityConfigurationArn
is specified.
sourcepub fn observability_configuration_arn(&self) -> Option<&str>
pub fn observability_configuration_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the observability configuration that is associated with the service. 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
source§impl ServiceObservabilityConfiguration
impl ServiceObservabilityConfiguration
sourcepub fn builder() -> ServiceObservabilityConfigurationBuilder
pub fn builder() -> ServiceObservabilityConfigurationBuilder
Creates a new builder-style object to manufacture ServiceObservabilityConfiguration
.
Trait Implementations§
source§impl Clone for ServiceObservabilityConfiguration
impl Clone for ServiceObservabilityConfiguration
source§fn clone(&self) -> ServiceObservabilityConfiguration
fn clone(&self) -> ServiceObservabilityConfiguration
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for ServiceObservabilityConfiguration
impl PartialEq for ServiceObservabilityConfiguration
source§fn eq(&self, other: &ServiceObservabilityConfiguration) -> bool
fn eq(&self, other: &ServiceObservabilityConfiguration) -> bool
self
and other
values to be equal, and is used
by ==
.