@Stability(value=Stable) public static final class CfnService.ServiceObservabilityConfigurationProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnService.ServiceObservabilityConfigurationProperty>
CfnService.ServiceObservabilityConfigurationProperty| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnService.ServiceObservabilityConfigurationProperty |
build()
Builds the configured instance.
|
CfnService.ServiceObservabilityConfigurationProperty.Builder |
observabilityConfigurationArn(String observabilityConfigurationArn)
|
CfnService.ServiceObservabilityConfigurationProperty.Builder |
observabilityEnabled(Boolean observabilityEnabled)
|
CfnService.ServiceObservabilityConfigurationProperty.Builder |
observabilityEnabled(IResolvable observabilityEnabled)
|
@Stability(value=Stable) public CfnService.ServiceObservabilityConfigurationProperty.Builder observabilityEnabled(Boolean observabilityEnabled)
observabilityEnabled - When `true` , an observability configuration resource is associated with the service, and an `ObservabilityConfigurationArn` is specified. This parameter is required.this@Stability(value=Stable) public CfnService.ServiceObservabilityConfigurationProperty.Builder observabilityEnabled(IResolvable observabilityEnabled)
observabilityEnabled - When `true` , an observability configuration resource is associated with the service, and an `ObservabilityConfigurationArn` is specified. This parameter is required.this@Stability(value=Stable) public CfnService.ServiceObservabilityConfigurationProperty.Builder observabilityConfigurationArn(String observabilityConfigurationArn)
CfnService.ServiceObservabilityConfigurationProperty.getObservabilityConfigurationArn()observabilityConfigurationArn - 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
this@Stability(value=Stable) public CfnService.ServiceObservabilityConfigurationProperty build()
build in interface software.amazon.jsii.Builder<CfnService.ServiceObservabilityConfigurationProperty>CfnService.ServiceObservabilityConfigurationPropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.