Aws/aps
@swamp/aws/apsv2026.06.12.1
01README
AWS APS infrastructure models
02Release Notes
- Updated: workspace
03Models
@swamp/aws/aps/anomaly-detectorv2026.06.08.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 environment variable. 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
Resources
state(infinite)— APS AnomalyDetector resource state
@swamp/aws/aps/resource-policyv2026.06.08.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 environment variable. 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
Resources
state(infinite)— APS ResourcePolicy resource state
@swamp/aws/aps/rule-groups-namespacev2026.06.08.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 environment variable. 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
Resources
state(infinite)— APS RuleGroupsNamespace resource state
@swamp/aws/aps/scraperv2026.06.08.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 environment variable. 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
Resources
state(infinite)— APS Scraper resource state
@swamp/aws/aps/workspacev2026.06.12.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 environment variable. 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
Resources
state(infinite)— APS Workspace resource state
04Previous Versions
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