Class ObservabilityConfiguration
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.Resource
software.amazon.awscdk.services.apprunner.alpha.ObservabilityConfiguration
- All Implemented Interfaces:
IResource
,IObservabilityConfiguration
,software.amazon.jsii.JsiiSerializable
,software.constructs.IConstruct
,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2024-11-21T06:34:17.939Z")
@Stability(Experimental)
public class ObservabilityConfiguration
extends Resource
implements IObservabilityConfiguration
(experimental) The App Runner Observability configuration.
Example:
ObservabilityConfiguration observabilityConfiguration = ObservabilityConfiguration.Builder.create(this, "ObservabilityConfiguration") .observabilityConfigurationName("MyObservabilityConfiguration") .traceConfigurationVendor(TraceConfigurationVendor.AWSXRAY) .build(); Service.Builder.create(this, "DemoService") .source(Source.fromEcrPublic(EcrPublicProps.builder() .imageConfiguration(ImageConfiguration.builder().port(8000).build()) .imageIdentifier("public.ecr.aws/aws-containers/hello-app-runner:latest") .build())) .observabilityConfiguration(observabilityConfiguration) .build();
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
(experimental) A fluent builder forObservabilityConfiguration
.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$Default
Nested classes/interfaces inherited from interface software.amazon.awscdk.services.apprunner.alpha.IObservabilityConfiguration
IObservabilityConfiguration.Jsii$Default, IObservabilityConfiguration.Jsii$Proxy
Nested classes/interfaces inherited from interface software.amazon.awscdk.IResource
IResource.Jsii$Default
-
Constructor Summary
ModifierConstructorDescriptionprotected
ObservabilityConfiguration
(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protected
ObservabilityConfiguration
(software.amazon.jsii.JsiiObjectRef objRef) ObservabilityConfiguration
(software.constructs.Construct scope, String id, ObservabilityConfigurationProps props) -
Method Summary
Modifier and TypeMethodDescriptionstatic IObservabilityConfiguration
(experimental) Imports an App Runner Observability Configuration from its ARN.static IObservabilityConfiguration
fromObservabilityConfigurationAttributes
(software.constructs.Construct scope, String id, ObservabilityConfigurationAttributes attrs) (experimental) Imports an App Runner Observability Configuration from attributes.(experimental) The ARN of the Observability configuration.(experimental) The name of the Observability configuration.(experimental) The revision of the Observability configuration.Methods inherited from class software.amazon.awscdk.Resource
applyRemovalPolicy, generatePhysicalName, getEnv, getPhysicalName, getResourceArnAttribute, getResourceNameAttribute, getStack, isOwnedResource, isResource
Methods inherited from class software.constructs.Construct
getNode, isConstruct, toString
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface software.constructs.IConstruct
getNode
Methods inherited from interface software.amazon.awscdk.IResource
applyRemovalPolicy, getEnv, getStack
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Constructor Details
-
ObservabilityConfiguration
protected ObservabilityConfiguration(software.amazon.jsii.JsiiObjectRef objRef) -
ObservabilityConfiguration
protected ObservabilityConfiguration(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
ObservabilityConfiguration
@Stability(Experimental) public ObservabilityConfiguration(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull ObservabilityConfigurationProps props) - Parameters:
scope
- This parameter is required.id
- This parameter is required.props
- This parameter is required.
-
-
Method Details
-
fromArn
@Stability(Experimental) @NotNull public static IObservabilityConfiguration fromArn(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull String observabilityConfigurationArn) (experimental) Imports an App Runner Observability Configuration from its ARN.- Parameters:
scope
- This parameter is required.id
- This parameter is required.observabilityConfigurationArn
- This parameter is required.
-
fromObservabilityConfigurationAttributes
@Stability(Experimental) @NotNull public static IObservabilityConfiguration fromObservabilityConfigurationAttributes(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull ObservabilityConfigurationAttributes attrs) (experimental) Imports an App Runner Observability Configuration from attributes.- Parameters:
scope
- This parameter is required.id
- This parameter is required.attrs
- This parameter is required.
-
getObservabilityConfigurationArn
(experimental) The ARN of the Observability configuration.- Specified by:
getObservabilityConfigurationArn
in interfaceIObservabilityConfiguration
-
getObservabilityConfigurationName
(experimental) The name of the Observability configuration.- Specified by:
getObservabilityConfigurationName
in interfaceIObservabilityConfiguration
-
getObservabilityConfigurationRevision
(experimental) The revision of the Observability configuration.- Specified by:
getObservabilityConfigurationRevision
in interfaceIObservabilityConfiguration
-