Aws/aps
@swamp/aws/apsv2026.10.25.1
01README
AWS APS infrastructure models
02Behaviors
@swamp/aws/aps/anomaly-detectorv2026.10.23.1anomaly_detector.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| name | string | Instance name for this resource (used as the unique identifier in the factory pattern) |
| accessKeyId? | string | AWS access key ID; overrides AWS_ACCESS_KEY_ID environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| secretAccessKey? | string | AWS secret access key; overrides AWS_SECRET_ACCESS_KEY environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| sessionToken? | string | AWS session token for temporary credentials; overrides AWS_SESSION_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| region? | string | AWS region; overrides AWS_REGION / AWS_DEFAULT_REGION environment variables and ~/.aws/config profile region. Defaults to us-east-1. |
| Workspace | string | Required to identify a specific APS Workspace associated with this Anomaly Detector. |
| Alias | string | The AnomalyDetector alias. |
| EvaluationIntervalInSeconds? | number | The AnomalyDetector period of detection and metric generation. |
| Labels? | array | An array of key-value pairs to provide meta-data. |
| MissingDataAction? | object | The action to perform when running the expression returns no data. |
| Configuration | object | Determines the anomaly detector's algorithm and its configuration. |
| Tags? | array | An array of key-value pairs to apply to this resource. |
fn create()
Create a APS AnomalyDetector
fn get(identifier: string)
Get a APS AnomalyDetector
| Argument | Type | Description |
|---|---|---|
| identifier | string | The primary identifier of the APS AnomalyDetector |
fn update()
Update a APS AnomalyDetector
fn delete(identifier: string)
Delete a APS AnomalyDetector
| Argument | Type | Description |
|---|---|---|
| identifier | string | The primary identifier of the APS AnomalyDetector |
fn sync()
Sync APS AnomalyDetector state from AWS
fn list(maxPages?: number, resourceModel?: string)
List APS AnomalyDetector resources
| Argument | Type | Description |
|---|---|---|
| maxPages? | number | Maximum number of pages to fetch (default: 10) |
| resourceModel? | string | JSON resource model for parent-scoped listing (e.g. parent identifier) |
Resources
state(infinite)— APS AnomalyDetector resource state
@swamp/aws/aps/resource-policyv2026.10.23.1resource_policy.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| accessKeyId? | string | AWS access key ID; overrides AWS_ACCESS_KEY_ID environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| secretAccessKey? | string | AWS secret access key; overrides AWS_SECRET_ACCESS_KEY environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| sessionToken? | string | AWS session token for temporary credentials; overrides AWS_SESSION_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| region? | string | AWS region; overrides AWS_REGION / AWS_DEFAULT_REGION environment variables and ~/.aws/config profile region. Defaults to us-east-1. |
| WorkspaceArn | string | The Arn of an APS Workspace that the PolicyDocument will be attached to. |
| PolicyDocument | string | The JSON to use as the Resource-based Policy. |
fn create()
Create a APS ResourcePolicy
fn get(identifier: string)
Get a APS ResourcePolicy
| Argument | Type | Description |
|---|---|---|
| identifier | string | The primary identifier of the APS ResourcePolicy |
fn update()
Update a APS ResourcePolicy
fn delete(identifier: string)
Delete a APS ResourcePolicy
| Argument | Type | Description |
|---|---|---|
| identifier | string | The primary identifier of the APS ResourcePolicy |
fn sync()
Sync APS ResourcePolicy state from AWS
fn list(maxPages?: number, resourceModel?: string)
List APS ResourcePolicy resources
| Argument | Type | Description |
|---|---|---|
| maxPages? | number | Maximum number of pages to fetch (default: 10) |
| resourceModel? | string | JSON resource model for parent-scoped listing (e.g. parent identifier) |
Resources
state(infinite)— APS ResourcePolicy resource state
@swamp/aws/aps/rule-groups-namespacev2026.10.23.1rule_groups_namespace.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| name | string | Instance name for this resource (used as the unique identifier in the factory pattern) |
| accessKeyId? | string | AWS access key ID; overrides AWS_ACCESS_KEY_ID environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| secretAccessKey? | string | AWS secret access key; overrides AWS_SECRET_ACCESS_KEY environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| sessionToken? | string | AWS session token for temporary credentials; overrides AWS_SESSION_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| region? | string | AWS region; overrides AWS_REGION / AWS_DEFAULT_REGION environment variables and ~/.aws/config profile region. Defaults to us-east-1. |
| Workspace | string | Required to identify a specific APS Workspace associated with this RuleGroupsNamespace. |
| Name | string | The RuleGroupsNamespace name. |
| Data | string | The RuleGroupsNamespace data. |
| Tags? | array | An array of key-value pairs to apply to this resource. |
fn create()
Create a APS RuleGroupsNamespace
fn get(identifier: string)
Get a APS RuleGroupsNamespace
| Argument | Type | Description |
|---|---|---|
| identifier | string | The primary identifier of the APS RuleGroupsNamespace |
fn update()
Update a APS RuleGroupsNamespace
fn delete(identifier: string)
Delete a APS RuleGroupsNamespace
| Argument | Type | Description |
|---|---|---|
| identifier | string | The primary identifier of the APS RuleGroupsNamespace |
fn sync()
Sync APS RuleGroupsNamespace state from AWS
fn list(maxPages?: number, resourceModel?: string)
List APS RuleGroupsNamespace resources
| Argument | Type | Description |
|---|---|---|
| maxPages? | number | Maximum number of pages to fetch (default: 10) |
| resourceModel? | string | JSON resource model for parent-scoped listing (e.g. parent identifier) |
Resources
state(infinite)— APS RuleGroupsNamespace resource state
@swamp/aws/aps/scraperv2026.10.23.1scraper.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| name | string | Instance name for this resource (used as the unique identifier in the factory pattern) |
| accessKeyId? | string | AWS access key ID; overrides AWS_ACCESS_KEY_ID environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| secretAccessKey? | string | AWS secret access key; overrides AWS_SECRET_ACCESS_KEY environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| sessionToken? | string | AWS session token for temporary credentials; overrides AWS_SESSION_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| region? | string | AWS region; overrides AWS_REGION / AWS_DEFAULT_REGION environment variables and ~/.aws/config profile region. Defaults to us-east-1. |
| Alias? | string | Scraper alias. |
| ScraperLoggingConfiguration? | object | Configuration for scraper logging |
| ScrapeConfiguration | object | Scraper configuration |
| RoleConfiguration? | object | Role configuration |
| Source | object | Scraper metrics source |
| Destination | object | Scraper metrics destination |
| Tags? | array | An array of key-value pairs to apply to this resource. |
fn create()
Create a APS Scraper
fn get(identifier: string)
Get a APS Scraper
| Argument | Type | Description |
|---|---|---|
| identifier | string | The primary identifier of the APS Scraper |
fn update()
Update a APS Scraper
fn delete(identifier: string)
Delete a APS Scraper
| Argument | Type | Description |
|---|---|---|
| identifier | string | The primary identifier of the APS Scraper |
fn sync()
Sync APS Scraper state from AWS
fn list(maxPages?: number, resourceModel?: string)
List APS Scraper resources
| Argument | Type | Description |
|---|---|---|
| maxPages? | number | Maximum number of pages to fetch (default: 10) |
| resourceModel? | string | JSON resource model for parent-scoped listing (e.g. parent identifier) |
Resources
state(infinite)— APS Scraper resource state
@swamp/aws/aps/workspacev2026.10.23.1workspace.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| name | string | Instance name for this resource (used as the unique identifier in the factory pattern) |
| accessKeyId? | string | AWS access key ID; overrides AWS_ACCESS_KEY_ID environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| secretAccessKey? | string | AWS secret access key; overrides AWS_SECRET_ACCESS_KEY environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| sessionToken? | string | AWS session token for temporary credentials; overrides AWS_SESSION_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| region? | string | AWS region; overrides AWS_REGION / AWS_DEFAULT_REGION environment variables and ~/.aws/config profile region. Defaults to us-east-1. |
| Alias? | string | AMP Workspace alias. |
| AlertManagerDefinition? | string | The AMP Workspace alert manager definition data |
| LoggingConfiguration? | object | Logging configuration |
| WorkspaceConfiguration? | object | Workspace configuration |
| QueryLoggingConfiguration? | object | Query logging configuration |
| KmsKeyArn? | string | KMS Key ARN used to encrypt and decrypt AMP workspace data. |
| Tags? | array | An array of key-value pairs to apply to this resource. |
fn create()
Create a APS Workspace
fn get(identifier: string)
Get a APS Workspace
| Argument | Type | Description |
|---|---|---|
| identifier | string | The primary identifier of the APS Workspace |
fn update()
Update a APS Workspace
fn delete(identifier: string)
Delete a APS Workspace
| Argument | Type | Description |
|---|---|---|
| identifier | string | The primary identifier of the APS Workspace |
fn sync()
Sync APS Workspace state from AWS
fn list(maxPages?: number, resourceModel?: string)
List APS Workspace resources
| Argument | Type | Description |
|---|---|---|
| maxPages? | number | Maximum number of pages to fetch (default: 10) |
| resourceModel? | string | JSON resource model for parent-scoped listing (e.g. parent identifier) |
Resources
state(infinite)— APS Workspace resource state
03Previous Versions
2026.10.24.1AGPL-3.0-or-later
2026.10.23.1AGPL-3.0-or-later(was none)
- Updated: anomaly_detector, resource_policy, rule_groups_namespace, scraper, workspace
2026.10.13.1
- Updated: anomaly_detector, resource_policy, rule_groups_namespace, scraper, workspace
2026.10.08.1
2026.10.06.1
2026.10.04.1
2026.10.03.1
2026.10.02.1
2026.10.01.1
2026.09.30.1
2026.09.29.1
2026.09.28.1
2026.09.27.1
2026.09.26.1
2026.09.24.1
2026.09.23.1
2026.09.22.1
2026.09.21.1
2026.09.20.1
04Stats
A
100 / 100
Downloads
118
Archive size
1.0 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 audit2/2earned
- Docs keep secrets in a vault1/1earned
- Has description1/1earned
- Platform support declared (or universal)2/2earned
- License2/2earned
- Verified public repository2/2earned
05Platforms
06Labels