pub struct Builder { /* private fields */ }
Expand description
A builder for ServiceObservabilityConfiguration
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn observability_enabled(self, input: bool) -> Self
pub fn observability_enabled(self, input: bool) -> Self
When true
, an observability configuration resource is associated with the service, and an ObservabilityConfigurationArn
is specified.
sourcepub fn set_observability_enabled(self, input: Option<bool>) -> Self
pub fn set_observability_enabled(self, input: Option<bool>) -> Self
When true
, an observability configuration resource is associated with the service, and an ObservabilityConfigurationArn
is specified.
sourcepub fn observability_configuration_arn(self, input: impl Into<String>) -> Self
pub fn observability_configuration_arn(self, input: impl Into<String>) -> Self
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
sourcepub fn set_observability_configuration_arn(self, input: Option<String>) -> Self
pub fn set_observability_configuration_arn(self, input: Option<String>) -> Self
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
sourcepub fn build(self) -> ServiceObservabilityConfiguration
pub fn build(self) -> ServiceObservabilityConfiguration
Consumes the builder and constructs a ServiceObservabilityConfiguration
.