Skip to content
v2.274.0

AWS::APS Construct Library ​

This module is part of the AWS Cloud Development Kit project.

ts
import * as aps from 'aws-cdk-lib/aws-aps';
python
import aws_cdk.aws_aps as aps
java
import software.amazon.awscdk.services.aps.*;
csharp
using Amazon.CDK.AWS.APS;
go
import aps "github.com/aws/aws-cdk-go/awscdk"

There are no official hand-written (L2) constructs for this service yet. Here are some suggestions on how to proceed:

There are no hand-written (L2) constructs for this service yet. However, you can still use the automatically generated L1 constructs, and use this service exactly as you would using CloudFormation directly.

For more information on the resources and properties available for this service, see the CloudFormation documentation for AWS::APS.

(Read the CDK Contributing Guide and submit an RFC if you are interested in contributing to this construct library.)

Types ​

NameKindSummary
CfnAnomalyDetectorConstruct (L1)Anomaly detection uses the Random Cut Forest algorithm for time-series analysis.
CfnResourcePolicyConstruct (L1)Use resource-based policies to grant permissions to other AWS accounts or services to access your workspace.
CfnRuleGroupsNamespaceConstruct (L1)The definition of a rule groups namespace in an Amazon Managed Service for Prometheus workspace.
CfnScraperConstruct (L1)A scraper is a fully-managed agentless collector that discovers and pulls metrics automatically.
CfnWorkspaceConstruct (L1)An Amazon Managed Service for Prometheus workspace is a logical and isolated Prometheus server dedicated to ingesting, storing, and querying your Prometheus-compatible metrics.
CfnAnomalyDetector.AnomalyDetectorConfigurationPropertyStructThe configuration for the anomaly detection algorithm.
CfnAnomalyDetector.IgnoreNearExpectedPropertyStructConfiguration for threshold settings that determine when values near expected values should be ignored during anomaly detection.
CfnAnomalyDetector.LabelPropertyStructThe Amazon Managed Service for Prometheus metric labels associated with the anomaly detector.
CfnAnomalyDetector.MissingDataActionPropertyStructSpecifies the action to take when data is missing during anomaly detection evaluation.
CfnAnomalyDetector.RandomCutForestConfigurationPropertyStructConfiguration for the Random Cut Forest algorithm used for anomaly detection in time-series data.
CfnAnomalyDetectorPropsStructProperties for defining a CfnAnomalyDetector.
CfnResourcePolicyPropsStructProperties for defining a CfnResourcePolicy.
CfnRuleGroupsNamespacePropsStructProperties for defining a CfnRuleGroupsNamespace.
CfnScraper.AmpConfigurationPropertyStructThe AmpConfiguration structure defines the Amazon Managed Service for Prometheus instance a scraper should send metrics to.
CfnScraper.CloudWatchConfigurationPropertyStructConfiguration for CloudWatch metrics destination.
CfnScraper.CloudWatchLogDestinationPropertyStructRepresents a cloudwatch logs destination for scraper logging.
CfnScraper.ComponentConfigPropertyStructConfiguration settings for a scraper component.
CfnScraper.DestinationPropertyStructWhere to send the metrics from a scraper.
CfnScraper.EksConfigurationPropertyStructThe EksConfiguration structure describes the connection to the Amazon EKS cluster from which a scraper collects metrics.
CfnScraper.RoleConfigurationPropertyStructThe role configuration in an Amazon Managed Service for Prometheus scraper.
CfnScraper.ScrapeConfigurationPropertyStructA scrape configuration for a scraper, base 64 encoded.
CfnScraper.ScraperComponentPropertyStructA component of a Amazon Managed Service for Prometheus scraper that can be configured for logging.
CfnScraper.ScraperLoggingConfigurationPropertyStructConfiguration for scraper logging.
CfnScraper.ScraperLoggingDestinationPropertyStructThe destination where scraper logs are sent.
CfnScraper.SourcePropertyStructThe source of collected metrics for a scraper.
CfnScraper.VpcConfigurationPropertyStructConfiguration for VPC metrics source.
CfnScraperPropsStructProperties for defining a CfnScraper.
CfnWorkspace.CloudWatchLogDestinationPropertyStructConfiguration details for logging to CloudWatch Logs.
CfnWorkspace.LabelPropertyStructA label is a name:value pair used to add context to ingested metrics.
CfnWorkspace.LimitsPerLabelSetEntryPropertyStructThis structure contains the limits that apply to time series that match one label set.
CfnWorkspace.LimitsPerLabelSetPropertyStructThis defines a label set for the workspace, and defines the ingestion limit for active time series that match that label set.
CfnWorkspace.LoggingConfigurationPropertyStructContains information about the rules and alerting logging configuration for the workspace.
CfnWorkspace.LoggingDestinationPropertyStructThe logging destination in an Amazon Managed Service for Prometheus workspace.
CfnWorkspace.LoggingFilterPropertyStructFiltering criteria that determine which queries are logged.
CfnWorkspace.QueryLoggingConfigurationPropertyStructThe query logging configuration in an Amazon Managed Service for Prometheus workspace.
CfnWorkspace.WorkspaceConfigurationPropertyStructUse this structure to define label sets and the ingestion limits for time series that match label sets, and to specify the retention period of the workspace.
CfnWorkspacePropsStructProperties for defining a CfnWorkspace.