Class CfnScraper.AmpConfigurationProperty
The AmpConfiguration
structure defines the Amazon Managed Service for Prometheus instance a scraper should send metrics to.
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.APS
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnScraper.AmpConfigurationProperty : CfnScraper.IAmpConfigurationProperty
Syntax (vb)
Public Class CfnScraper.AmpConfigurationProperty Implements CfnScraper.IAmpConfigurationProperty
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.APS;
var ampConfigurationProperty = new AmpConfigurationProperty {
WorkspaceArn = "workspaceArn"
};
Synopsis
Constructors
AmpConfigurationProperty() | The |
Properties
WorkspaceArn | ARN of the Amazon Managed Service for Prometheus workspace. |
Constructors
AmpConfigurationProperty()
The AmpConfiguration
structure defines the Amazon Managed Service for Prometheus instance a scraper should send metrics to.
public AmpConfigurationProperty()
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.APS;
var ampConfigurationProperty = new AmpConfigurationProperty {
WorkspaceArn = "workspaceArn"
};
Properties
WorkspaceArn
ARN of the Amazon Managed Service for Prometheus workspace.
public string WorkspaceArn { get; set; }