#[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 ==
.impl StructuralPartialEq for ServiceObservabilityConfiguration
Auto Trait Implementations§
impl Freeze for ServiceObservabilityConfiguration
impl RefUnwindSafe for ServiceObservabilityConfiguration
impl Send for ServiceObservabilityConfiguration
impl Sync for ServiceObservabilityConfiguration
impl Unpin for ServiceObservabilityConfiguration
impl UnwindSafe for ServiceObservabilityConfiguration
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more