Skip to main content

Aws/aps

@swamp/aws/apsv2026.06.12.1· 3d agoMODELS
01README

AWS APS infrastructure models

02Release Notes
  • Updated: workspace
03Models5
@swamp/aws/aps/anomaly-detectorv2026.06.08.1anomaly_detector.ts

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
accessKeyId?stringAWS access key ID; overrides AWS_ACCESS_KEY_ID environment variable. Wire with a vault.get(...) expression to source it from a vault.
secretAccessKey?stringAWS secret access key; overrides AWS_SECRET_ACCESS_KEY environment variable. Wire with a vault.get(...) expression to source it from a vault.
sessionToken?stringAWS session token for temporary credentials; overrides AWS_SESSION_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault.
region?stringAWS region; overrides AWS_REGION environment variable. Defaults to us-east-1.
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.
fn create()
Create a APS AnomalyDetector
fn get(identifier: string)
Get a APS AnomalyDetector
ArgumentTypeDescription
identifierstringThe primary identifier of the APS AnomalyDetector
fn update()
Update a APS AnomalyDetector
fn delete(identifier: string)
Delete a APS AnomalyDetector
ArgumentTypeDescription
identifierstringThe primary identifier of the APS AnomalyDetector
fn sync()
Sync APS AnomalyDetector state from AWS

Resources

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

Global Arguments

ArgumentTypeDescription
accessKeyId?stringAWS access key ID; overrides AWS_ACCESS_KEY_ID environment variable. Wire with a vault.get(...) expression to source it from a vault.
secretAccessKey?stringAWS secret access key; overrides AWS_SECRET_ACCESS_KEY environment variable. Wire with a vault.get(...) expression to source it from a vault.
sessionToken?stringAWS session token for temporary credentials; overrides AWS_SESSION_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault.
region?stringAWS region; overrides AWS_REGION environment variable. Defaults to us-east-1.
WorkspaceArnstringThe Arn of an APS Workspace that the PolicyDocument will be attached to.
PolicyDocumentstringThe JSON to use as the Resource-based Policy.
fn create()
Create a APS ResourcePolicy
fn get(identifier: string)
Get a APS ResourcePolicy
ArgumentTypeDescription
identifierstringThe primary identifier of the APS ResourcePolicy
fn update()
Update a APS ResourcePolicy
fn delete(identifier: string)
Delete a APS ResourcePolicy
ArgumentTypeDescription
identifierstringThe primary identifier of the APS ResourcePolicy
fn sync()
Sync APS ResourcePolicy state from AWS

Resources

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

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
accessKeyId?stringAWS access key ID; overrides AWS_ACCESS_KEY_ID environment variable. Wire with a vault.get(...) expression to source it from a vault.
secretAccessKey?stringAWS secret access key; overrides AWS_SECRET_ACCESS_KEY environment variable. Wire with a vault.get(...) expression to source it from a vault.
sessionToken?stringAWS session token for temporary credentials; overrides AWS_SESSION_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault.
region?stringAWS region; overrides AWS_REGION environment variable. Defaults to us-east-1.
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.
fn create()
Create a APS RuleGroupsNamespace
fn get(identifier: string)
Get a APS RuleGroupsNamespace
ArgumentTypeDescription
identifierstringThe primary identifier of the APS RuleGroupsNamespace
fn update()
Update a APS RuleGroupsNamespace
fn delete(identifier: string)
Delete a APS RuleGroupsNamespace
ArgumentTypeDescription
identifierstringThe primary identifier of the APS RuleGroupsNamespace
fn sync()
Sync APS RuleGroupsNamespace state from AWS

Resources

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

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
accessKeyId?stringAWS access key ID; overrides AWS_ACCESS_KEY_ID environment variable. Wire with a vault.get(...) expression to source it from a vault.
secretAccessKey?stringAWS secret access key; overrides AWS_SECRET_ACCESS_KEY environment variable. Wire with a vault.get(...) expression to source it from a vault.
sessionToken?stringAWS session token for temporary credentials; overrides AWS_SESSION_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault.
region?stringAWS region; overrides AWS_REGION environment variable. Defaults to us-east-1.
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.
fn create()
Create a APS Scraper
fn get(identifier: string)
Get a APS Scraper
ArgumentTypeDescription
identifierstringThe primary identifier of the APS Scraper
fn update()
Update a APS Scraper
fn delete(identifier: string)
Delete a APS Scraper
ArgumentTypeDescription
identifierstringThe primary identifier of the APS Scraper
fn sync()
Sync APS Scraper state from AWS

Resources

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

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
accessKeyId?stringAWS access key ID; overrides AWS_ACCESS_KEY_ID environment variable. Wire with a vault.get(...) expression to source it from a vault.
secretAccessKey?stringAWS secret access key; overrides AWS_SECRET_ACCESS_KEY environment variable. Wire with a vault.get(...) expression to source it from a vault.
sessionToken?stringAWS session token for temporary credentials; overrides AWS_SESSION_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault.
region?stringAWS region; overrides AWS_REGION environment variable. Defaults to us-east-1.
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.
fn create()
Create a APS Workspace
fn get(identifier: string)
Get a APS Workspace
ArgumentTypeDescription
identifierstringThe primary identifier of the APS Workspace
fn update()
Update a APS Workspace
fn delete(identifier: string)
Delete a APS Workspace
ArgumentTypeDescription
identifierstringThe primary identifier of the APS Workspace
fn sync()
Sync APS Workspace state from AWS

Resources

state(infinite)— APS Workspace resource state
04Previous Versions8
2026.06.08.2Jun 8, 2026
  • Updated: anomaly_detector, resource_policy, rule_groups_namespace, scraper, workspace
2026.06.06.1Jun 6, 2026
  • Updated: anomaly_detector, resource_policy, rule_groups_namespace, scraper, workspace
2026.04.23.3Apr 23, 2026
2026.04.23.2Apr 23, 2026
  • Updated: anomaly_detector, resource_policy, rule_groups_namespace, scraper, workspace
2026.04.03.2Apr 3, 2026
  • Updated: anomaly_detector, resource_policy, rule_groups_namespace, scraper, workspace
2026.03.19.1Mar 19, 2026
  • Updated: anomaly_detector, resource_policy, rule_groups_namespace, scraper, workspace
2026.03.16.1Mar 16, 2026
  • Updated: anomaly_detector, resource_policy, rule_groups_namespace, scraper, workspace
2026.03.10.5Mar 10, 2026
05Stats
B
85 / 100
Downloads
0
Archive size
1.2 MB
Verified by Swamp
  • Has README or module doc2/2earned
  • README has a code example1/1earned
  • README is substantive1/1earned
  • Most symbols documented1/1earned
  • No slow types (deprecated)1/1earned
  • Dependencies pass trust audit0/2missing
  • Has description1/1earned
  • Platform support declared (or universal)2/2earned
  • License declared1/1earned
  • Verified public repository2/2earned
06Platforms
07Labels