Skip to main content

@swamp/aws/aps

v2026.04.23.3

AWS APS infrastructure models

Repository

https://github.com/systeminit/swamp-extensions

Labels

awsapscloudinfrastructure

Contents

Quality score

Verified by Swamp

How well-documented and verifiable this extension is.

100%

Grade A

  • Has README or module doc2/2earned
  • README has a code example1/1earned
  • README is substantive1/1earned
  • Most symbols documented1/1earned
  • No slow types1/1earned
  • Has description1/1earned
  • At least one platform tag (or universal)1/1earned
  • Two or more platform tags (or universal)1/1earned
  • License declared1/1earned
  • Verified public repository2/2earned

Install

$ swamp extension pull @swamp/aws/aps

@swamp/aws/aps/anomaly-detectorv2026.04.23.2anomaly_detector.ts

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
WorkspacestringRequired to identify a specific APS Workspace associated with this Anomaly Detector.
AliasstringThe AnomalyDetector alias.
EvaluationIntervalInSeconds?numberThe AnomalyDetector period of detection and metric generation.
Labels?arrayAn array of key-value pairs to provide meta-data.
MissingDataAction?objectThe action to perform when running the expression returns no data.
ConfigurationobjectDetermines the anomaly detector's algorithm and its configuration.
Tags?arrayAn array of key-value pairs to apply to this resource.
createCreate a APS AnomalyDetector
getGet a APS AnomalyDetector
ArgumentTypeDescription
identifierstringThe primary identifier of the APS AnomalyDetector
updateUpdate a APS AnomalyDetector
deleteDelete a APS AnomalyDetector
ArgumentTypeDescription
identifierstringThe primary identifier of the APS AnomalyDetector
syncSync APS AnomalyDetector state from AWS

Resources

state(infinite)— APS AnomalyDetector resource state
@swamp/aws/aps/resource-policyv2026.04.23.2resource_policy.ts

Global Arguments

ArgumentTypeDescription
WorkspaceArnstringThe Arn of an APS Workspace that the PolicyDocument will be attached to.
PolicyDocumentstringThe JSON to use as the Resource-based Policy.
createCreate a APS ResourcePolicy
getGet a APS ResourcePolicy
ArgumentTypeDescription
identifierstringThe primary identifier of the APS ResourcePolicy
updateUpdate a APS ResourcePolicy
deleteDelete a APS ResourcePolicy
ArgumentTypeDescription
identifierstringThe primary identifier of the APS ResourcePolicy
syncSync APS ResourcePolicy state from AWS

Resources

state(infinite)— APS ResourcePolicy resource state
@swamp/aws/aps/rule-groups-namespacev2026.04.23.2rule_groups_namespace.ts

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
WorkspacestringRequired to identify a specific APS Workspace associated with this RuleGroupsNamespace.
NamestringThe RuleGroupsNamespace name.
DatastringThe RuleGroupsNamespace data.
Tags?arrayAn array of key-value pairs to apply to this resource.
createCreate a APS RuleGroupsNamespace
getGet a APS RuleGroupsNamespace
ArgumentTypeDescription
identifierstringThe primary identifier of the APS RuleGroupsNamespace
updateUpdate a APS RuleGroupsNamespace
deleteDelete a APS RuleGroupsNamespace
ArgumentTypeDescription
identifierstringThe primary identifier of the APS RuleGroupsNamespace
syncSync APS RuleGroupsNamespace state from AWS

Resources

state(infinite)— APS RuleGroupsNamespace resource state
@swamp/aws/aps/scraperv2026.04.23.2scraper.ts

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
Alias?stringScraper alias.
ScraperLoggingConfiguration?objectConfiguration for scraper logging
ScrapeConfigurationobjectScraper configuration
RoleConfiguration?objectRole configuration
SourceobjectScraper metrics source
DestinationobjectScraper metrics destination
Tags?arrayAn array of key-value pairs to apply to this resource.
createCreate a APS Scraper
getGet a APS Scraper
ArgumentTypeDescription
identifierstringThe primary identifier of the APS Scraper
updateUpdate a APS Scraper
deleteDelete a APS Scraper
ArgumentTypeDescription
identifierstringThe primary identifier of the APS Scraper
syncSync APS Scraper state from AWS

Resources

state(infinite)— APS Scraper resource state
@swamp/aws/aps/workspacev2026.04.23.2workspace.ts

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
Alias?stringAMP Workspace alias.
AlertManagerDefinition?stringThe AMP Workspace alert manager definition data
LoggingConfiguration?objectLogging configuration
WorkspaceConfiguration?objectWorkspace configuration
QueryLoggingConfiguration?objectQuery logging configuration
KmsKeyArn?stringKMS Key ARN used to encrypt and decrypt AMP workspace data.
Tags?arrayAn array of key-value pairs to apply to this resource.
createCreate a APS Workspace
getGet a APS Workspace
ArgumentTypeDescription
identifierstringThe primary identifier of the APS Workspace
updateUpdate a APS Workspace
deleteDelete a APS Workspace
ArgumentTypeDescription
identifierstringThe primary identifier of the APS Workspace
syncSync APS Workspace state from AWS

Resources

state(infinite)— APS Workspace resource state