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:
- Search Construct Hub for APS construct libraries
- Use the automatically generated L1 constructs, in the same way you would use the CloudFormation AWS::APS resources directly.
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
Constructs (L1)
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.
Structs
CfnAnomalyDetector.StructAnomaly Detector Configuration Property
The configuration for the anomaly detection algorithm.CfnAnomalyDetector.StructIgnoreNearExpectedProperty
Configuration for threshold settings that determine when values near expected values should be ignored during anomaly detection.CfnAnomalyDetector.LabelPropertyStruct
The Amazon Managed Service for Prometheus metric labels associated with the anomaly detector.CfnAnomalyDetector.StructMissingDataActionProperty
Specifies the action to take when data is missing during anomaly detection evaluation.CfnAnomalyDetector.StructRandom Cut Forest Configuration Property
Configuration for the Random Cut Forest algorithm used for anomaly detection in time-series data.CfnAnomalyDetectorPropsStruct
Properties for defining aCfnAnomalyDetector.CfnResourcePolicyPropsStruct
Properties for defining aCfnResourcePolicy.CfnRuleGroupsNamespacePropsStruct
Properties for defining aCfnRuleGroupsNamespace.CfnScraper.StructAmpConfigurationProperty
TheAmpConfigurationstructure defines the Amazon Managed Service for Prometheus instance a scraper should send metrics to.CfnScraper.StructCloudWatchConfigurationProperty
Configuration for CloudWatch metrics destination.CfnScraper.StructCloudWatchLogDestinationProperty
Represents a cloudwatch logs destination for scraper logging.CfnScraper.StructComponentConfigProperty
Configuration settings for a scraper component.CfnScraper.DestinationPropertyStruct
Where to send the metrics from a scraper.CfnScraper.StructEksConfigurationProperty
TheEksConfigurationstructure describes the connection to the Amazon EKS cluster from which a scraper collects metrics.CfnScraper.StructExporterConfigurationProperty
Exporter configuration.CfnScraper.StructOpenSearchConfigurationProperty
Configuration for OpenSearch exporter.CfnScraper.StructRoleConfigurationProperty
The role configuration in an Amazon Managed Service for Prometheus scraper.CfnScraper.StructScrapeConfigurationProperty
A scrape configuration for a scraper, base 64 encoded.CfnScraper.StructScraperComponentProperty
A component of a Amazon Managed Service for Prometheus scraper that can be configured for logging.CfnScraper.StructScraper Logging Configuration Property
Configuration for scraper logging.CfnScraper.StructScraper Logging Destination Property
The destination where scraper logs are sent.CfnScraper.SourcePropertyStruct
The source of collected metrics for a scraper.CfnScraper.StructVpcConfigurationProperty
Configuration for VPC metrics source.CfnScraperPropsStruct
Properties for defining aCfnScraper.CfnWorkspace.StructCloudWatchLogDestinationProperty
Configuration details for logging to CloudWatch Logs.CfnWorkspace.LabelPropertyStruct
A label is a name:value pair used to add context to ingested metrics.CfnWorkspace.StructLimitsPerLabelSetEntryProperty
This structure contains the limits that apply to time series that match one label set.CfnWorkspace.StructLimitsPerLabelSetProperty
This defines a label set for the workspace, and defines the ingestion limit for active time series that match that label set.CfnWorkspace.StructLoggingConfigurationProperty
Contains information about the rules and alerting logging configuration for the workspace.CfnWorkspace.StructLoggingDestinationProperty
The logging destination in an Amazon Managed Service for Prometheus workspace.CfnWorkspace.StructLoggingFilterProperty
Filtering criteria that determine which queries are logged.CfnWorkspace.StructQuery Logging Configuration Property
The query logging configuration in an Amazon Managed Service for Prometheus workspace.CfnWorkspace.StructWorkspaceConfigurationProperty
Use 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.CfnWorkspacePropsStruct
Properties for defining aCfnWorkspace.