Class ObservabilityConfiguration
(experimental) The App Runner Observability configuration.
Inherited Members
Namespace: Amazon.CDK.AWS.AppRunner.Alpha
Assembly: Amazon.CDK.AWS.AppRunner.Alpha.dll
Syntax (csharp)
public class ObservabilityConfiguration : Resource, IObservabilityConfiguration, IResource
Syntax (vb)
Public Class ObservabilityConfiguration
Inherits Resource
Implements IObservabilityConfiguration, IResource
Remarks
Stability: Experimental
Resource: AWS::AppRunner::ObservabilityConfiguration
ExampleMetadata: infused
Examples
var observabilityConfiguration = new ObservabilityConfiguration(this, "ObservabilityConfiguration", new ObservabilityConfigurationProps {
ObservabilityConfigurationName = "MyObservabilityConfiguration",
TraceConfigurationVendor = TraceConfigurationVendor.AWSXRAY
});
new Service(this, "DemoService", new ServiceProps {
Source = Source.FromEcrPublic(new EcrPublicProps {
ImageConfiguration = new ImageConfiguration { Port = 8000 },
ImageIdentifier = "public.ecr.aws/aws-containers/hello-app-runner:latest"
}),
ObservabilityConfiguration = observabilityConfiguration
});
Synopsis
Constructors
ObservabilityConfiguration(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
ObservabilityConfiguration(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
ObservabilityConfiguration(Construct, String, IObservabilityConfigurationProps) |
Properties
ObservabilityConfigurationArn | (experimental) The ARN of the Observability configuration. |
ObservabilityConfigurationName | (experimental) The name of the Observability configuration. |
ObservabilityConfigurationRevision | (experimental) The revision of the Observability configuration. |
Methods
FromArn(Construct, String, String) | (experimental) Imports an App Runner Observability Configuration from its ARN. |
FromObservabilityConfigurationAttributes(Construct, String, IObservabilityConfigurationAttributes) | (experimental) Imports an App Runner Observability Configuration from attributes. |
Constructors
ObservabilityConfiguration(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected ObservabilityConfiguration(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
ObservabilityConfiguration(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected ObservabilityConfiguration(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
ObservabilityConfiguration(Construct, String, IObservabilityConfigurationProps)
public ObservabilityConfiguration(Construct scope, string id, IObservabilityConfigurationProps props)
Parameters
- scope Constructs.Construct
- id System.String
- props IObservabilityConfigurationProps
Remarks
Stability: Experimental
Properties
ObservabilityConfigurationArn
(experimental) The ARN of the Observability configuration.
public virtual string ObservabilityConfigurationArn { get; }
Property Value
System.String
Remarks
Stability: Experimental
Attribute: true
ObservabilityConfigurationName
(experimental) The name of the Observability configuration.
public virtual string ObservabilityConfigurationName { get; }
Property Value
System.String
Remarks
Stability: Experimental
Attribute: true
ObservabilityConfigurationRevision
(experimental) The revision of the Observability configuration.
public virtual double ObservabilityConfigurationRevision { get; }
Property Value
System.Double
Remarks
Stability: Experimental
Attribute: true
Methods
FromArn(Construct, String, String)
(experimental) Imports an App Runner Observability Configuration from its ARN.
public static IObservabilityConfiguration FromArn(Construct scope, string id, string observabilityConfigurationArn)
Parameters
- scope Constructs.Construct
- id System.String
- observabilityConfigurationArn System.String
Returns
Remarks
Stability: Experimental
FromObservabilityConfigurationAttributes(Construct, String, IObservabilityConfigurationAttributes)
(experimental) Imports an App Runner Observability Configuration from attributes.
public static IObservabilityConfiguration FromObservabilityConfigurationAttributes(Construct scope, string id, IObservabilityConfigurationAttributes attrs)
Parameters
- scope Constructs.Construct
- id System.String
- attrs IObservabilityConfigurationAttributes
Returns
Remarks
Stability: Experimental