@robhan-cdk-lib/aws_aps 0.0.144 → 0.0.146

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/.jsii CHANGED
@@ -7,7 +7,7 @@
7
7
  ]
8
8
  },
9
9
  "dependencies": {
10
- "@robhan-cdk-lib/utils": "^0.0.133",
10
+ "@robhan-cdk-lib/utils": "^0.0.134",
11
11
  "aws-cdk-lib": "^2.224.0",
12
12
  "constructs": "^10.0.5"
13
13
  },
@@ -8520,181 +8520,263 @@
8520
8520
  ],
8521
8521
  "symbolId": "src/scraper-base:AmpConfiguration"
8522
8522
  },
8523
- "@robhan-cdk-lib/aws_aps.CloudWatchLogDestination": {
8523
+ "@robhan-cdk-lib/aws_aps.AnomalyDetector": {
8524
8524
  "assembly": "@robhan-cdk-lib/aws_aps",
8525
- "datatype": true,
8525
+ "base": "@robhan-cdk-lib/aws_aps.AnomalyDetectorBase",
8526
8526
  "docs": {
8527
- "stability": "stable",
8528
- "summary": "Configuration details for logging to CloudWatch Logs."
8527
+ "stability": "stable"
8529
8528
  },
8530
- "fqn": "@robhan-cdk-lib/aws_aps.CloudWatchLogDestination",
8531
- "kind": "interface",
8529
+ "fqn": "@robhan-cdk-lib/aws_aps.AnomalyDetector",
8530
+ "initializer": {
8531
+ "docs": {
8532
+ "stability": "stable"
8533
+ },
8534
+ "locationInModule": {
8535
+ "filename": "src/anomaly-detector.ts",
8536
+ "line": 157
8537
+ },
8538
+ "parameters": [
8539
+ {
8540
+ "name": "scope",
8541
+ "type": {
8542
+ "fqn": "constructs.Construct"
8543
+ }
8544
+ },
8545
+ {
8546
+ "name": "id",
8547
+ "type": {
8548
+ "primitive": "string"
8549
+ }
8550
+ },
8551
+ {
8552
+ "name": "props",
8553
+ "type": {
8554
+ "fqn": "@robhan-cdk-lib/aws_aps.AnomalyDetectorProps"
8555
+ }
8556
+ }
8557
+ ]
8558
+ },
8559
+ "kind": "class",
8532
8560
  "locationInModule": {
8533
- "filename": "src/workspace-base.ts",
8534
- "line": 18
8561
+ "filename": "src/anomaly-detector.ts",
8562
+ "line": 52
8535
8563
  },
8536
- "name": "CloudWatchLogDestination",
8564
+ "methods": [
8565
+ {
8566
+ "docs": {
8567
+ "stability": "stable"
8568
+ },
8569
+ "locationInModule": {
8570
+ "filename": "src/anomaly-detector.ts",
8571
+ "line": 53
8572
+ },
8573
+ "name": "isAnomalyDetector",
8574
+ "parameters": [
8575
+ {
8576
+ "name": "x",
8577
+ "type": {
8578
+ "primitive": "any"
8579
+ }
8580
+ }
8581
+ ],
8582
+ "returns": {
8583
+ "type": {
8584
+ "primitive": "boolean"
8585
+ }
8586
+ },
8587
+ "static": true
8588
+ }
8589
+ ],
8590
+ "name": "AnomalyDetector",
8537
8591
  "properties": [
8538
8592
  {
8539
- "abstract": true,
8540
8593
  "docs": {
8594
+ "remarks": "Minimum length of 1. Maximum length of 64.\nPattern: [0-9A-Za-z][-.0-9A-Z_a-z]*",
8541
8595
  "stability": "stable",
8542
- "summary": "The CloudWatch log group."
8596
+ "summary": "The user-friendly name of the anomaly detector. 1 to 64 characters length."
8543
8597
  },
8544
8598
  "immutable": true,
8545
8599
  "locationInModule": {
8546
- "filename": "src/workspace-base.ts",
8547
- "line": 22
8600
+ "filename": "src/anomaly-detector.ts",
8601
+ "line": 113
8548
8602
  },
8549
- "name": "logGroup",
8603
+ "name": "alias",
8604
+ "overrides": "@robhan-cdk-lib/aws_aps.AnomalyDetectorBase",
8550
8605
  "type": {
8551
- "fqn": "aws-cdk-lib.aws_logs.ILogGroup"
8606
+ "primitive": "string"
8552
8607
  }
8553
- }
8554
- ],
8555
- "symbolId": "src/workspace-base:CloudWatchLogDestination"
8556
- },
8557
- "@robhan-cdk-lib/aws_aps.Destination": {
8558
- "assembly": "@robhan-cdk-lib/aws_aps",
8559
- "datatype": true,
8560
- "docs": {
8561
- "stability": "stable",
8562
- "summary": "Where to send the metrics from a scraper."
8563
- },
8564
- "fqn": "@robhan-cdk-lib/aws_aps.Destination",
8565
- "kind": "interface",
8566
- "locationInModule": {
8567
- "filename": "src/scraper-base.ts",
8568
- "line": 20
8569
- },
8570
- "name": "Destination",
8571
- "properties": [
8608
+ },
8572
8609
  {
8573
- "abstract": true,
8574
8610
  "docs": {
8575
8611
  "stability": "stable",
8576
- "summary": "The Amazon Managed Service for Prometheus workspace to send metrics to."
8612
+ "summary": "The Amazon Resource Name (ARN) of the anomaly detector."
8577
8613
  },
8578
8614
  "immutable": true,
8579
8615
  "locationInModule": {
8580
- "filename": "src/scraper-base.ts",
8581
- "line": 24
8616
+ "filename": "src/anomaly-detector.ts",
8617
+ "line": 155
8582
8618
  },
8583
- "name": "ampConfiguration",
8619
+ "name": "anomalyDetectorArn",
8620
+ "overrides": "@robhan-cdk-lib/aws_aps.AnomalyDetectorBase",
8584
8621
  "type": {
8585
- "fqn": "@robhan-cdk-lib/aws_aps.AmpConfiguration"
8622
+ "primitive": "string"
8586
8623
  }
8587
- }
8588
- ],
8589
- "symbolId": "src/scraper-base:Destination"
8590
- },
8591
- "@robhan-cdk-lib/aws_aps.EksConfiguration": {
8592
- "assembly": "@robhan-cdk-lib/aws_aps",
8593
- "datatype": true,
8594
- "docs": {
8595
- "stability": "stable",
8596
- "summary": "The EksConfiguration structure describes the connection to the Amazon EKS cluster from which a scraper collects metrics."
8597
- },
8598
- "fqn": "@robhan-cdk-lib/aws_aps.EksConfiguration",
8599
- "kind": "interface",
8600
- "locationInModule": {
8601
- "filename": "src/scraper-base.ts",
8602
- "line": 55
8603
- },
8604
- "name": "EksConfiguration",
8605
- "properties": [
8624
+ },
8606
8625
  {
8607
- "abstract": true,
8608
8626
  "docs": {
8609
8627
  "stability": "stable",
8610
- "summary": "The Amazon EKS cluster."
8628
+ "summary": "The algorithm configuration of the anomaly detector."
8611
8629
  },
8612
8630
  "immutable": true,
8613
8631
  "locationInModule": {
8614
- "filename": "src/scraper-base.ts",
8615
- "line": 59
8632
+ "filename": "src/anomaly-detector.ts",
8633
+ "line": 118
8616
8634
  },
8617
- "name": "cluster",
8635
+ "name": "configuration",
8636
+ "overrides": "@robhan-cdk-lib/aws_aps.AnomalyDetectorBase",
8618
8637
  "type": {
8619
- "fqn": "aws-cdk-lib.aws_eks.ICluster"
8638
+ "fqn": "@robhan-cdk-lib/aws_aps.AnomalyDetectorConfiguration"
8620
8639
  }
8621
8640
  },
8622
8641
  {
8623
- "abstract": true,
8624
8642
  "docs": {
8625
- "remarks": "Min 1, max 5.",
8626
8643
  "stability": "stable",
8627
- "summary": "A list of subnets for the Amazon EKS cluster VPC configuration."
8644
+ "summary": "An Amazon Managed Service for Prometheus workspace is a logical and isolated Prometheus server dedicated to ingesting, storing, and querying your Prometheus-compatible metrics."
8628
8645
  },
8629
8646
  "immutable": true,
8630
8647
  "locationInModule": {
8631
- "filename": "src/scraper-base.ts",
8632
- "line": 73
8648
+ "filename": "src/anomaly-detector.ts",
8649
+ "line": 145
8633
8650
  },
8634
- "name": "subnets",
8651
+ "name": "workspace",
8652
+ "overrides": "@robhan-cdk-lib/aws_aps.AnomalyDetectorBase",
8635
8653
  "type": {
8636
- "collection": {
8637
- "elementtype": {
8638
- "fqn": "aws-cdk-lib.aws_ec2.ISubnet"
8639
- },
8640
- "kind": "array"
8641
- }
8654
+ "fqn": "@robhan-cdk-lib/aws_aps.IWorkspace"
8642
8655
  }
8643
8656
  },
8644
8657
  {
8645
- "abstract": true,
8646
8658
  "docs": {
8647
- "remarks": "Min 1, max 5.",
8659
+ "remarks": "Minimum value of 30. Maximum value of 86400.",
8648
8660
  "stability": "stable",
8649
- "summary": "A list of the security group IDs for the Amazon EKS cluster VPC configuration."
8661
+ "summary": "The frequency, in seconds, at which the anomaly detector evaluates metrics."
8650
8662
  },
8651
8663
  "immutable": true,
8652
8664
  "locationInModule": {
8653
- "filename": "src/scraper-base.ts",
8654
- "line": 66
8665
+ "filename": "src/anomaly-detector.ts",
8666
+ "line": 125
8655
8667
  },
8656
- "name": "securityGroups",
8668
+ "name": "evaluationIntervalInSeconds",
8669
+ "optional": true,
8670
+ "overrides": "@robhan-cdk-lib/aws_aps.AnomalyDetectorBase",
8671
+ "type": {
8672
+ "primitive": "number"
8673
+ }
8674
+ },
8675
+ {
8676
+ "docs": {
8677
+ "remarks": "Map Entries: Minimum number of 0 items. Maximum number of 140 items.\nKey Length Constraints: Minimum length of 1. Maximum length of 7168.\nKey Pattern: (?!__)[a-zA-Z_][a-zA-Z0-9_]*\nValue Length Constraints: Minimum length of 1. Maximum length of 7168.",
8678
+ "stability": "stable",
8679
+ "summary": "The Amazon Managed Service for Prometheus metric labels associated with the anomaly detector."
8680
+ },
8681
+ "immutable": true,
8682
+ "locationInModule": {
8683
+ "filename": "src/anomaly-detector.ts",
8684
+ "line": 135
8685
+ },
8686
+ "name": "labels",
8657
8687
  "optional": true,
8688
+ "overrides": "@robhan-cdk-lib/aws_aps.AnomalyDetectorBase",
8658
8689
  "type": {
8659
8690
  "collection": {
8660
8691
  "elementtype": {
8661
- "fqn": "aws-cdk-lib.aws_ec2.ISecurityGroup"
8692
+ "fqn": "@robhan-cdk-lib/aws_aps.Label"
8662
8693
  },
8663
8694
  "kind": "array"
8664
8695
  }
8665
8696
  }
8697
+ },
8698
+ {
8699
+ "docs": {
8700
+ "stability": "stable",
8701
+ "summary": "The action taken when data is missing during evaluation."
8702
+ },
8703
+ "immutable": true,
8704
+ "locationInModule": {
8705
+ "filename": "src/anomaly-detector.ts",
8706
+ "line": 140
8707
+ },
8708
+ "name": "missingDataAction",
8709
+ "optional": true,
8710
+ "overrides": "@robhan-cdk-lib/aws_aps.AnomalyDetectorBase",
8711
+ "type": {
8712
+ "fqn": "@robhan-cdk-lib/aws_aps.MissingDataAction"
8713
+ }
8666
8714
  }
8667
8715
  ],
8668
- "symbolId": "src/scraper-base:EksConfiguration"
8716
+ "symbolId": "src/anomaly-detector:AnomalyDetector"
8669
8717
  },
8670
- "@robhan-cdk-lib/aws_aps.IRuleGroupsNamespace": {
8718
+ "@robhan-cdk-lib/aws_aps.AnomalyDetectorBase": {
8719
+ "abstract": true,
8671
8720
  "assembly": "@robhan-cdk-lib/aws_aps",
8721
+ "base": "aws-cdk-lib.Resource",
8672
8722
  "docs": {
8673
8723
  "stability": "stable"
8674
8724
  },
8675
- "fqn": "@robhan-cdk-lib/aws_aps.IRuleGroupsNamespace",
8725
+ "fqn": "@robhan-cdk-lib/aws_aps.AnomalyDetectorBase",
8726
+ "initializer": {
8727
+ "docs": {
8728
+ "stability": "stable"
8729
+ },
8730
+ "locationInModule": {
8731
+ "filename": "core/lib/resource.ts",
8732
+ "line": 122
8733
+ },
8734
+ "parameters": [
8735
+ {
8736
+ "name": "scope",
8737
+ "type": {
8738
+ "fqn": "constructs.Construct"
8739
+ }
8740
+ },
8741
+ {
8742
+ "name": "id",
8743
+ "type": {
8744
+ "primitive": "string"
8745
+ }
8746
+ },
8747
+ {
8748
+ "name": "props",
8749
+ "optional": true,
8750
+ "type": {
8751
+ "fqn": "aws-cdk-lib.ResourceProps"
8752
+ }
8753
+ }
8754
+ ]
8755
+ },
8676
8756
  "interfaces": [
8677
- "aws-cdk-lib.IResource"
8757
+ "@robhan-cdk-lib/aws_aps.IAnomalyDetector"
8678
8758
  ],
8679
- "kind": "interface",
8759
+ "kind": "class",
8680
8760
  "locationInModule": {
8681
- "filename": "src/rule-groups-namespace-base.ts",
8682
- "line": 4
8761
+ "filename": "src/anomaly-detector-base.ts",
8762
+ "line": 143
8683
8763
  },
8684
- "name": "IRuleGroupsNamespace",
8764
+ "name": "AnomalyDetectorBase",
8685
8765
  "properties": [
8686
8766
  {
8687
8767
  "abstract": true,
8688
8768
  "docs": {
8769
+ "remarks": "Minimum length of 1. Maximum length of 64.\nPattern: [0-9A-Za-z][-.0-9A-Z_a-z]*",
8689
8770
  "stability": "stable",
8690
- "summary": "The rules file used in the namespace."
8771
+ "summary": "The user-friendly name of the anomaly detector. 1 to 64 characters length."
8691
8772
  },
8692
8773
  "immutable": true,
8693
8774
  "locationInModule": {
8694
- "filename": "src/rule-groups-namespace-base.ts",
8695
- "line": 8
8775
+ "filename": "src/anomaly-detector-base.ts",
8776
+ "line": 150
8696
8777
  },
8697
- "name": "data",
8778
+ "name": "alias",
8779
+ "overrides": "@robhan-cdk-lib/aws_aps.IAnomalyDetector",
8698
8780
  "type": {
8699
8781
  "primitive": "string"
8700
8782
  }
@@ -8702,15 +8784,19 @@
8702
8784
  {
8703
8785
  "abstract": true,
8704
8786
  "docs": {
8787
+ "custom": {
8788
+ "attribute": "true"
8789
+ },
8705
8790
  "stability": "stable",
8706
- "summary": "The name of the rule groups namespace."
8791
+ "summary": "The Amazon Resource Name (ARN) of the anomaly detector."
8707
8792
  },
8708
8793
  "immutable": true,
8709
8794
  "locationInModule": {
8710
- "filename": "src/rule-groups-namespace-base.ts",
8711
- "line": 13
8795
+ "filename": "src/anomaly-detector-base.ts",
8796
+ "line": 188
8712
8797
  },
8713
- "name": "name",
8798
+ "name": "anomalyDetectorArn",
8799
+ "overrides": "@robhan-cdk-lib/aws_aps.IAnomalyDetector",
8714
8800
  "type": {
8715
8801
  "primitive": "string"
8716
8802
  }
@@ -8718,212 +8804,163 @@
8718
8804
  {
8719
8805
  "abstract": true,
8720
8806
  "docs": {
8721
- "custom": {
8722
- "attribute": "true"
8723
- },
8724
8807
  "stability": "stable",
8725
- "summary": "The ARN of the rule groups namespace."
8808
+ "summary": "The algorithm configuration of the anomaly detector."
8726
8809
  },
8727
8810
  "immutable": true,
8728
8811
  "locationInModule": {
8729
- "filename": "src/rule-groups-namespace-base.ts",
8730
- "line": 19
8812
+ "filename": "src/anomaly-detector-base.ts",
8813
+ "line": 155
8731
8814
  },
8732
- "name": "ruleGroupsNamespaceArn",
8815
+ "name": "configuration",
8816
+ "overrides": "@robhan-cdk-lib/aws_aps.IAnomalyDetector",
8733
8817
  "type": {
8734
- "primitive": "string"
8818
+ "fqn": "@robhan-cdk-lib/aws_aps.AnomalyDetectorConfiguration"
8735
8819
  }
8736
8820
  },
8737
8821
  {
8738
8822
  "abstract": true,
8739
8823
  "docs": {
8740
8824
  "stability": "stable",
8741
- "summary": "The workspace to add the rule groups namespace."
8825
+ "summary": "An Amazon Managed Service for Prometheus workspace is a logical and isolated Prometheus server dedicated to ingesting, storing, and querying your Prometheus-compatible metrics."
8742
8826
  },
8743
8827
  "immutable": true,
8744
8828
  "locationInModule": {
8745
- "filename": "src/rule-groups-namespace-base.ts",
8746
- "line": 24
8829
+ "filename": "src/anomaly-detector-base.ts",
8830
+ "line": 182
8747
8831
  },
8748
8832
  "name": "workspace",
8833
+ "overrides": "@robhan-cdk-lib/aws_aps.IAnomalyDetector",
8749
8834
  "type": {
8750
8835
  "fqn": "@robhan-cdk-lib/aws_aps.IWorkspace"
8751
8836
  }
8752
- }
8753
- ],
8754
- "symbolId": "src/rule-groups-namespace-base:IRuleGroupsNamespace"
8755
- },
8756
- "@robhan-cdk-lib/aws_aps.IScraper": {
8757
- "assembly": "@robhan-cdk-lib/aws_aps",
8758
- "docs": {
8759
- "stability": "stable"
8760
- },
8761
- "fqn": "@robhan-cdk-lib/aws_aps.IScraper",
8762
- "interfaces": [
8763
- "aws-cdk-lib.IResource"
8764
- ],
8765
- "kind": "interface",
8766
- "locationInModule": {
8767
- "filename": "src/scraper-base.ts",
8768
- "line": 86
8769
- },
8770
- "name": "IScraper",
8771
- "properties": [
8837
+ },
8772
8838
  {
8773
8839
  "abstract": true,
8774
8840
  "docs": {
8841
+ "remarks": "Minimum value of 30. Maximum value of 86400.",
8775
8842
  "stability": "stable",
8776
- "summary": "The Amazon Managed Service for Prometheus workspace the scraper sends metrics to."
8777
- },
8778
- "immutable": true,
8779
- "locationInModule": {
8780
- "filename": "src/scraper-base.ts",
8781
- "line": 99
8782
- },
8783
- "name": "destination",
8784
- "type": {
8785
- "fqn": "@robhan-cdk-lib/aws_aps.Destination"
8786
- }
8787
- },
8788
- {
8789
- "abstract": true,
8790
- "docs": {
8791
- "stability": "stable",
8792
- "summary": "The configuration in use by the scraper."
8793
- },
8794
- "immutable": true,
8795
- "locationInModule": {
8796
- "filename": "src/scraper-base.ts",
8797
- "line": 109
8798
- },
8799
- "name": "scrapeConfiguration",
8800
- "type": {
8801
- "fqn": "@robhan-cdk-lib/aws_aps.ScrapeConfiguration"
8802
- }
8803
- },
8804
- {
8805
- "abstract": true,
8806
- "docs": {
8807
- "custom": {
8808
- "attribute": "true"
8809
- },
8810
- "stability": "stable",
8811
- "summary": "The ARN of the scraper."
8812
- },
8813
- "immutable": true,
8814
- "locationInModule": {
8815
- "filename": "src/scraper-base.ts",
8816
- "line": 126
8817
- },
8818
- "name": "scraperArn",
8819
- "type": {
8820
- "primitive": "string"
8821
- }
8822
- },
8823
- {
8824
- "abstract": true,
8825
- "docs": {
8826
- "custom": {
8827
- "attribute": "true"
8828
- },
8829
- "stability": "stable",
8830
- "summary": "The ID of the scraper."
8843
+ "summary": "The frequency, in seconds, at which the anomaly detector evaluates metrics."
8831
8844
  },
8832
8845
  "immutable": true,
8833
8846
  "locationInModule": {
8834
- "filename": "src/scraper-base.ts",
8835
- "line": 120
8847
+ "filename": "src/anomaly-detector-base.ts",
8848
+ "line": 162
8836
8849
  },
8837
- "name": "scraperId",
8850
+ "name": "evaluationIntervalInSeconds",
8851
+ "optional": true,
8852
+ "overrides": "@robhan-cdk-lib/aws_aps.IAnomalyDetector",
8838
8853
  "type": {
8839
- "primitive": "string"
8854
+ "primitive": "number"
8840
8855
  }
8841
8856
  },
8842
8857
  {
8843
8858
  "abstract": true,
8844
8859
  "docs": {
8860
+ "remarks": "Map Entries: Minimum number of 0 items. Maximum number of 140 items.\nKey Length Constraints: Minimum length of 1. Maximum length of 7168.\nKey Pattern: (?!__)[a-zA-Z_][a-zA-Z0-9_]*\nValue Length Constraints: Minimum length of 1. Maximum length of 7168.",
8845
8861
  "stability": "stable",
8846
- "summary": "The Amazon EKS cluster from which the scraper collects metrics."
8862
+ "summary": "The Amazon Managed Service for Prometheus metric labels associated with the anomaly detector."
8847
8863
  },
8848
8864
  "immutable": true,
8849
8865
  "locationInModule": {
8850
- "filename": "src/scraper-base.ts",
8851
- "line": 114
8866
+ "filename": "src/anomaly-detector-base.ts",
8867
+ "line": 172
8852
8868
  },
8853
- "name": "source",
8869
+ "name": "labels",
8870
+ "optional": true,
8871
+ "overrides": "@robhan-cdk-lib/aws_aps.IAnomalyDetector",
8854
8872
  "type": {
8855
- "fqn": "@robhan-cdk-lib/aws_aps.Source"
8873
+ "collection": {
8874
+ "elementtype": {
8875
+ "fqn": "@robhan-cdk-lib/aws_aps.Label"
8876
+ },
8877
+ "kind": "array"
8878
+ }
8856
8879
  }
8857
8880
  },
8858
8881
  {
8859
8882
  "abstract": true,
8860
8883
  "docs": {
8861
- "remarks": "1-100 characters.\n\nPattern: ^[0-9A-Za-z][-.0-9A-Z_a-z]*$",
8862
8884
  "stability": "stable",
8863
- "summary": "An optional user-assigned scraper alias."
8885
+ "summary": "The action taken when data is missing during evaluation."
8864
8886
  },
8865
8887
  "immutable": true,
8866
8888
  "locationInModule": {
8867
- "filename": "src/scraper-base.ts",
8868
- "line": 94
8889
+ "filename": "src/anomaly-detector-base.ts",
8890
+ "line": 177
8869
8891
  },
8870
- "name": "alias",
8892
+ "name": "missingDataAction",
8871
8893
  "optional": true,
8894
+ "overrides": "@robhan-cdk-lib/aws_aps.IAnomalyDetector",
8872
8895
  "type": {
8873
- "primitive": "string"
8896
+ "fqn": "@robhan-cdk-lib/aws_aps.MissingDataAction"
8874
8897
  }
8875
- },
8898
+ }
8899
+ ],
8900
+ "symbolId": "src/anomaly-detector-base:AnomalyDetectorBase"
8901
+ },
8902
+ "@robhan-cdk-lib/aws_aps.AnomalyDetectorConfiguration": {
8903
+ "assembly": "@robhan-cdk-lib/aws_aps",
8904
+ "datatype": true,
8905
+ "docs": {
8906
+ "stability": "stable",
8907
+ "summary": "The configuration for the anomaly detection algorithm."
8908
+ },
8909
+ "fqn": "@robhan-cdk-lib/aws_aps.AnomalyDetectorConfiguration",
8910
+ "kind": "interface",
8911
+ "locationInModule": {
8912
+ "filename": "src/anomaly-detector-base.ts",
8913
+ "line": 58
8914
+ },
8915
+ "name": "AnomalyDetectorConfiguration",
8916
+ "properties": [
8876
8917
  {
8877
8918
  "abstract": true,
8878
8919
  "docs": {
8879
8920
  "stability": "stable",
8880
- "summary": "The role configuration in an Amazon Managed Service for Prometheus scraper."
8921
+ "summary": "The Random Cut Forest algorithm configuration for anomaly detection."
8881
8922
  },
8882
8923
  "immutable": true,
8883
8924
  "locationInModule": {
8884
- "filename": "src/scraper-base.ts",
8885
- "line": 104
8925
+ "filename": "src/anomaly-detector-base.ts",
8926
+ "line": 62
8886
8927
  },
8887
- "name": "roleConfiguration",
8888
- "optional": true,
8928
+ "name": "randomCutForest",
8889
8929
  "type": {
8890
- "fqn": "@robhan-cdk-lib/aws_aps.RoleConfiguration"
8930
+ "fqn": "@robhan-cdk-lib/aws_aps.RandomCutForestConfiguration"
8891
8931
  }
8892
8932
  }
8893
8933
  ],
8894
- "symbolId": "src/scraper-base:IScraper"
8934
+ "symbolId": "src/anomaly-detector-base:AnomalyDetectorConfiguration"
8895
8935
  },
8896
- "@robhan-cdk-lib/aws_aps.IWorkspace": {
8936
+ "@robhan-cdk-lib/aws_aps.AnomalyDetectorProps": {
8897
8937
  "assembly": "@robhan-cdk-lib/aws_aps",
8938
+ "datatype": true,
8898
8939
  "docs": {
8899
- "stability": "stable"
8940
+ "stability": "stable",
8941
+ "summary": "Properties for creating an Amazon Managed Service for Prometheus Anomaly Detector."
8900
8942
  },
8901
- "fqn": "@robhan-cdk-lib/aws_aps.IWorkspace",
8902
- "interfaces": [
8903
- "aws-cdk-lib.IResource"
8904
- ],
8943
+ "fqn": "@robhan-cdk-lib/aws_aps.AnomalyDetectorProps",
8905
8944
  "kind": "interface",
8906
8945
  "locationInModule": {
8907
- "filename": "src/workspace-base.ts",
8908
- "line": 147
8946
+ "filename": "src/anomaly-detector.ts",
8947
+ "line": 11
8909
8948
  },
8910
- "name": "IWorkspace",
8949
+ "name": "AnomalyDetectorProps",
8911
8950
  "properties": [
8912
8951
  {
8913
8952
  "abstract": true,
8914
8953
  "docs": {
8915
- "custom": {
8916
- "attribute": "true"
8917
- },
8954
+ "remarks": "1 to 128 characters length.",
8918
8955
  "stability": "stable",
8919
- "summary": "The ARN of the workspace."
8956
+ "summary": "The user-friendly name of the anomaly detector."
8920
8957
  },
8921
8958
  "immutable": true,
8922
8959
  "locationInModule": {
8923
- "filename": "src/workspace-base.ts",
8924
- "line": 194
8960
+ "filename": "src/anomaly-detector.ts",
8961
+ "line": 15
8925
8962
  },
8926
- "name": "workspaceArn",
8963
+ "name": "alias",
8927
8964
  "type": {
8928
8965
  "primitive": "string"
8929
8966
  }
@@ -8931,434 +8968,1579 @@
8931
8968
  {
8932
8969
  "abstract": true,
8933
8970
  "docs": {
8934
- "custom": {
8935
- "attribute": "true"
8936
- },
8937
8971
  "stability": "stable",
8938
- "summary": "The unique ID for the workspace."
8972
+ "summary": "The algorithm configuration of the anomaly detector."
8939
8973
  },
8940
8974
  "immutable": true,
8941
8975
  "locationInModule": {
8942
- "filename": "src/workspace-base.ts",
8943
- "line": 188
8976
+ "filename": "src/anomaly-detector.ts",
8977
+ "line": 20
8944
8978
  },
8945
- "name": "workspaceId",
8979
+ "name": "configuration",
8946
8980
  "type": {
8947
- "primitive": "string"
8981
+ "fqn": "@robhan-cdk-lib/aws_aps.AnomalyDetectorConfiguration"
8948
8982
  }
8949
8983
  },
8950
8984
  {
8951
8985
  "abstract": true,
8952
8986
  "docs": {
8953
8987
  "stability": "stable",
8954
- "summary": "The alert manager definition, a YAML configuration for the alert manager in your Amazon Managed Service for Prometheus workspace."
8988
+ "summary": "An Amazon Managed Service for Prometheus workspace is a logical and isolated Prometheus server dedicated to ingesting, storing, and querying your Prometheus-compatible metrics."
8955
8989
  },
8956
8990
  "immutable": true,
8957
8991
  "locationInModule": {
8958
- "filename": "src/workspace-base.ts",
8959
- "line": 152
8992
+ "filename": "src/anomaly-detector.ts",
8993
+ "line": 47
8960
8994
  },
8961
- "name": "alertManagerDefinition",
8962
- "optional": true,
8995
+ "name": "workspace",
8963
8996
  "type": {
8964
- "primitive": "string"
8997
+ "fqn": "@robhan-cdk-lib/aws_aps.IWorkspace"
8965
8998
  }
8966
8999
  },
8967
9000
  {
8968
9001
  "abstract": true,
8969
9002
  "docs": {
8970
- "remarks": "It does not need to be\nunique.",
9003
+ "remarks": "Minimum value of 30. Maximum value of 86400.",
8971
9004
  "stability": "stable",
8972
- "summary": "The alias that is assigned to this workspace to help identify it."
9005
+ "summary": "The frequency, in seconds, at which the anomaly detector evaluates metrics."
8973
9006
  },
8974
9007
  "immutable": true,
8975
9008
  "locationInModule": {
8976
- "filename": "src/workspace-base.ts",
8977
- "line": 158
9009
+ "filename": "src/anomaly-detector.ts",
9010
+ "line": 27
8978
9011
  },
8979
- "name": "alias",
9012
+ "name": "evaluationIntervalInSeconds",
8980
9013
  "optional": true,
8981
9014
  "type": {
8982
- "primitive": "string"
9015
+ "primitive": "number"
8983
9016
  }
8984
9017
  },
8985
9018
  {
8986
9019
  "abstract": true,
8987
9020
  "docs": {
9021
+ "remarks": "Map Entries: Minimum number of 0 items. Maximum number of 140 items.\nKey Length Constraints: Minimum length of 1. Maximum length of 7168.\nKey Pattern: (?!__)[a-zA-Z_][a-zA-Z0-9_]*\nValue Length Constraints: Minimum length of 1. Maximum length of 7168.",
8988
9022
  "stability": "stable",
8989
- "summary": "The customer managed AWS KMS key to use for encrypting data within your workspace."
9023
+ "summary": "The Amazon Managed Service for Prometheus metric labels associated with the anomaly detector."
8990
9024
  },
8991
9025
  "immutable": true,
8992
9026
  "locationInModule": {
8993
- "filename": "src/workspace-base.ts",
8994
- "line": 163
9027
+ "filename": "src/anomaly-detector.ts",
9028
+ "line": 37
8995
9029
  },
8996
- "name": "kmsKey",
9030
+ "name": "labels",
8997
9031
  "optional": true,
8998
9032
  "type": {
8999
- "fqn": "aws-cdk-lib.aws_kms.IKey"
9033
+ "collection": {
9034
+ "elementtype": {
9035
+ "fqn": "@robhan-cdk-lib/aws_aps.Label"
9036
+ },
9037
+ "kind": "array"
9038
+ }
9000
9039
  }
9001
9040
  },
9002
9041
  {
9003
9042
  "abstract": true,
9004
9043
  "docs": {
9005
- "remarks": "Note: These logging configurations are only for rules and alerting logs.",
9006
9044
  "stability": "stable",
9007
- "summary": "Contains information about the current rules and alerting logging configuration for the workspace."
9045
+ "summary": "The action taken when data is missing during evaluation."
9008
9046
  },
9009
9047
  "immutable": true,
9010
9048
  "locationInModule": {
9011
- "filename": "src/workspace-base.ts",
9012
- "line": 171
9049
+ "filename": "src/anomaly-detector.ts",
9050
+ "line": 42
9013
9051
  },
9014
- "name": "loggingConfiguration",
9052
+ "name": "missingDataAction",
9015
9053
  "optional": true,
9016
9054
  "type": {
9017
- "fqn": "@robhan-cdk-lib/aws_aps.LoggingConfiguration"
9055
+ "fqn": "@robhan-cdk-lib/aws_aps.MissingDataAction"
9018
9056
  }
9019
- },
9057
+ }
9058
+ ],
9059
+ "symbolId": "src/anomaly-detector:AnomalyDetectorProps"
9060
+ },
9061
+ "@robhan-cdk-lib/aws_aps.CloudWatchLogDestination": {
9062
+ "assembly": "@robhan-cdk-lib/aws_aps",
9063
+ "datatype": true,
9064
+ "docs": {
9065
+ "stability": "stable",
9066
+ "summary": "Configuration details for logging to CloudWatch Logs."
9067
+ },
9068
+ "fqn": "@robhan-cdk-lib/aws_aps.CloudWatchLogDestination",
9069
+ "kind": "interface",
9070
+ "locationInModule": {
9071
+ "filename": "src/workspace-base.ts",
9072
+ "line": 18
9073
+ },
9074
+ "name": "CloudWatchLogDestination",
9075
+ "properties": [
9020
9076
  {
9021
9077
  "abstract": true,
9022
9078
  "docs": {
9023
9079
  "stability": "stable",
9024
- "summary": "The definition of logging configuration in an Amazon Managed Service for Prometheus workspace."
9080
+ "summary": "The CloudWatch log group."
9025
9081
  },
9026
9082
  "immutable": true,
9027
9083
  "locationInModule": {
9028
9084
  "filename": "src/workspace-base.ts",
9029
- "line": 176
9085
+ "line": 22
9030
9086
  },
9031
- "name": "queryLoggingConfiguration",
9032
- "optional": true,
9087
+ "name": "logGroup",
9033
9088
  "type": {
9034
- "fqn": "@robhan-cdk-lib/aws_aps.QueryLoggingConfiguration"
9089
+ "fqn": "aws-cdk-lib.aws_logs.ILogGroup"
9035
9090
  }
9036
- },
9091
+ }
9092
+ ],
9093
+ "symbolId": "src/workspace-base:CloudWatchLogDestination"
9094
+ },
9095
+ "@robhan-cdk-lib/aws_aps.Destination": {
9096
+ "assembly": "@robhan-cdk-lib/aws_aps",
9097
+ "datatype": true,
9098
+ "docs": {
9099
+ "stability": "stable",
9100
+ "summary": "Where to send the metrics from a scraper."
9101
+ },
9102
+ "fqn": "@robhan-cdk-lib/aws_aps.Destination",
9103
+ "kind": "interface",
9104
+ "locationInModule": {
9105
+ "filename": "src/scraper-base.ts",
9106
+ "line": 20
9107
+ },
9108
+ "name": "Destination",
9109
+ "properties": [
9037
9110
  {
9038
9111
  "abstract": true,
9039
9112
  "docs": {
9040
9113
  "stability": "stable",
9041
- "summary": "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."
9114
+ "summary": "The Amazon Managed Service for Prometheus workspace to send metrics to."
9042
9115
  },
9043
9116
  "immutable": true,
9044
9117
  "locationInModule": {
9045
- "filename": "src/workspace-base.ts",
9046
- "line": 182
9118
+ "filename": "src/scraper-base.ts",
9119
+ "line": 24
9047
9120
  },
9048
- "name": "workspaceConfiguration",
9049
- "optional": true,
9121
+ "name": "ampConfiguration",
9050
9122
  "type": {
9051
- "fqn": "@robhan-cdk-lib/aws_aps.WorkspaceConfiguration"
9123
+ "fqn": "@robhan-cdk-lib/aws_aps.AmpConfiguration"
9052
9124
  }
9053
9125
  }
9054
9126
  ],
9055
- "symbolId": "src/workspace-base:IWorkspace"
9127
+ "symbolId": "src/scraper-base:Destination"
9056
9128
  },
9057
- "@robhan-cdk-lib/aws_aps.Label": {
9129
+ "@robhan-cdk-lib/aws_aps.EksConfiguration": {
9058
9130
  "assembly": "@robhan-cdk-lib/aws_aps",
9059
9131
  "datatype": true,
9060
9132
  "docs": {
9061
- "remarks": "This structure defines the\nname and value for one label that is used in a label set. You can set ingestion limits on time\nseries that match defined label sets, to help prevent a workspace from being overwhelmed with\nunexpected spikes in time series ingestion.",
9062
9133
  "stability": "stable",
9063
- "summary": "A label is a name:value pair used to add context to ingested metrics."
9134
+ "summary": "The EksConfiguration structure describes the connection to the Amazon EKS cluster from which a scraper collects metrics."
9064
9135
  },
9065
- "fqn": "@robhan-cdk-lib/aws_aps.Label",
9136
+ "fqn": "@robhan-cdk-lib/aws_aps.EksConfiguration",
9066
9137
  "kind": "interface",
9067
9138
  "locationInModule": {
9068
- "filename": "src/workspace-base.ts",
9069
- "line": 83
9139
+ "filename": "src/scraper-base.ts",
9140
+ "line": 55
9070
9141
  },
9071
- "name": "Label",
9142
+ "name": "EksConfiguration",
9072
9143
  "properties": [
9073
9144
  {
9074
9145
  "abstract": true,
9075
9146
  "docs": {
9076
- "remarks": "Pattern: ^[a-zA-Z_][a-zA-Z0-9_]*$\n\nAt least one character.",
9077
9147
  "stability": "stable",
9078
- "summary": "The name for this label."
9148
+ "summary": "The Amazon EKS cluster."
9079
9149
  },
9080
9150
  "immutable": true,
9081
9151
  "locationInModule": {
9082
- "filename": "src/workspace-base.ts",
9083
- "line": 91
9152
+ "filename": "src/scraper-base.ts",
9153
+ "line": 59
9084
9154
  },
9085
- "name": "name",
9155
+ "name": "cluster",
9086
9156
  "type": {
9087
- "primitive": "string"
9157
+ "fqn": "aws-cdk-lib.aws_eks.ICluster"
9088
9158
  }
9089
9159
  },
9090
9160
  {
9091
9161
  "abstract": true,
9092
9162
  "docs": {
9093
- "remarks": "At least one character.",
9163
+ "remarks": "Min 1, max 5.",
9094
9164
  "stability": "stable",
9095
- "summary": "The value for this label."
9165
+ "summary": "A list of subnets for the Amazon EKS cluster VPC configuration."
9096
9166
  },
9097
9167
  "immutable": true,
9098
9168
  "locationInModule": {
9099
- "filename": "src/workspace-base.ts",
9100
- "line": 97
9169
+ "filename": "src/scraper-base.ts",
9170
+ "line": 73
9101
9171
  },
9102
- "name": "value",
9172
+ "name": "subnets",
9103
9173
  "type": {
9104
- "primitive": "string"
9174
+ "collection": {
9175
+ "elementtype": {
9176
+ "fqn": "aws-cdk-lib.aws_ec2.ISubnet"
9177
+ },
9178
+ "kind": "array"
9179
+ }
9180
+ }
9181
+ },
9182
+ {
9183
+ "abstract": true,
9184
+ "docs": {
9185
+ "remarks": "Min 1, max 5.",
9186
+ "stability": "stable",
9187
+ "summary": "A list of the security group IDs for the Amazon EKS cluster VPC configuration."
9188
+ },
9189
+ "immutable": true,
9190
+ "locationInModule": {
9191
+ "filename": "src/scraper-base.ts",
9192
+ "line": 66
9193
+ },
9194
+ "name": "securityGroups",
9195
+ "optional": true,
9196
+ "type": {
9197
+ "collection": {
9198
+ "elementtype": {
9199
+ "fqn": "aws-cdk-lib.aws_ec2.ISecurityGroup"
9200
+ },
9201
+ "kind": "array"
9202
+ }
9105
9203
  }
9106
9204
  }
9107
9205
  ],
9108
- "symbolId": "src/workspace-base:Label"
9206
+ "symbolId": "src/scraper-base:EksConfiguration"
9109
9207
  },
9110
- "@robhan-cdk-lib/aws_aps.LimitsPerLabelSet": {
9208
+ "@robhan-cdk-lib/aws_aps.IAnomalyDetector": {
9111
9209
  "assembly": "@robhan-cdk-lib/aws_aps",
9112
- "datatype": true,
9113
9210
  "docs": {
9114
- "remarks": "Each label name in a label set must be unique.",
9115
- "stability": "stable",
9116
- "summary": "This defines a label set for the workspace, and defines the ingestion limit for active time series that match that label set."
9211
+ "stability": "stable"
9117
9212
  },
9118
- "fqn": "@robhan-cdk-lib/aws_aps.LimitsPerLabelSet",
9213
+ "fqn": "@robhan-cdk-lib/aws_aps.IAnomalyDetector",
9214
+ "interfaces": [
9215
+ "aws-cdk-lib.IResource"
9216
+ ],
9119
9217
  "kind": "interface",
9120
9218
  "locationInModule": {
9121
- "filename": "src/workspace-base.ts",
9122
- "line": 104
9219
+ "filename": "src/anomaly-detector-base.ts",
9220
+ "line": 95
9123
9221
  },
9124
- "name": "LimitsPerLabelSet",
9222
+ "name": "IAnomalyDetector",
9125
9223
  "properties": [
9126
9224
  {
9127
9225
  "abstract": true,
9128
9226
  "docs": {
9129
- "remarks": "You can set ingestion\nlimits on time series that match defined label sets, to help prevent a workspace from being\noverwhelmed with unexpected spikes in time series ingestion.\n\nLabel values accept all UTF-8 characters with one exception. If the label name is metric\nname label __name__, then the metric part of the name must conform to the following pattern:\n[a-zA-Z_:][a-zA-Z0-9_:]*\n\nMinimum 0",
9227
+ "remarks": "Minimum length of 1. Maximum length of 64.\nPattern: [0-9A-Za-z][-.0-9A-Z_a-z]*",
9130
9228
  "stability": "stable",
9131
- "summary": "This defines one label set that will have an enforced ingestion limit."
9229
+ "summary": "The user-friendly name of the anomaly detector. 1 to 128 characters length."
9132
9230
  },
9133
9231
  "immutable": true,
9134
9232
  "locationInModule": {
9135
- "filename": "src/workspace-base.ts",
9136
- "line": 116
9233
+ "filename": "src/anomaly-detector-base.ts",
9234
+ "line": 102
9137
9235
  },
9138
- "name": "labelSet",
9236
+ "name": "alias",
9139
9237
  "type": {
9140
- "collection": {
9141
- "elementtype": {
9142
- "fqn": "@robhan-cdk-lib/aws_aps.Label"
9143
- },
9144
- "kind": "array"
9145
- }
9238
+ "primitive": "string"
9146
9239
  }
9147
9240
  },
9148
9241
  {
9149
9242
  "abstract": true,
9150
9243
  "docs": {
9244
+ "custom": {
9245
+ "attribute": "true"
9246
+ },
9151
9247
  "stability": "stable",
9152
- "summary": "This structure contains the information about the limits that apply to time series that match this label set."
9248
+ "summary": "The Amazon Resource Name (ARN) of the anomaly detector."
9153
9249
  },
9154
9250
  "immutable": true,
9155
9251
  "locationInModule": {
9156
- "filename": "src/workspace-base.ts",
9157
- "line": 122
9252
+ "filename": "src/anomaly-detector-base.ts",
9253
+ "line": 140
9158
9254
  },
9159
- "name": "limits",
9255
+ "name": "anomalyDetectorArn",
9160
9256
  "type": {
9161
- "fqn": "@robhan-cdk-lib/aws_aps.LimitsPerLabelSetEntry"
9257
+ "primitive": "string"
9162
9258
  }
9163
- }
9164
- ],
9165
- "symbolId": "src/workspace-base:LimitsPerLabelSet"
9166
- },
9167
- "@robhan-cdk-lib/aws_aps.LimitsPerLabelSetEntry": {
9168
- "assembly": "@robhan-cdk-lib/aws_aps",
9169
- "datatype": true,
9170
- "docs": {
9171
- "stability": "stable",
9172
- "summary": "This structure contains the limits that apply to time series that match one label set."
9173
- },
9174
- "fqn": "@robhan-cdk-lib/aws_aps.LimitsPerLabelSetEntry",
9175
- "kind": "interface",
9176
- "locationInModule": {
9177
- "filename": "src/workspace-base.ts",
9178
- "line": 66
9179
- },
9180
- "name": "LimitsPerLabelSetEntry",
9181
- "properties": [
9259
+ },
9182
9260
  {
9183
9261
  "abstract": true,
9184
9262
  "docs": {
9185
- "remarks": "Setting this to 0 causes no label set limit to be enforced, but it does cause Amazon Managed\nService for Prometheus to vend label set metrics to CloudWatch Logs.\n\nMinimum 0",
9186
9263
  "stability": "stable",
9187
- "summary": "The maximum number of active series that can be ingested that match this label set."
9264
+ "summary": "The algorithm configuration of the anomaly detector."
9188
9265
  },
9189
9266
  "immutable": true,
9190
9267
  "locationInModule": {
9191
- "filename": "src/workspace-base.ts",
9192
- "line": 74
9268
+ "filename": "src/anomaly-detector-base.ts",
9269
+ "line": 107
9193
9270
  },
9194
- "name": "maxSeries",
9271
+ "name": "configuration",
9272
+ "type": {
9273
+ "fqn": "@robhan-cdk-lib/aws_aps.AnomalyDetectorConfiguration"
9274
+ }
9275
+ },
9276
+ {
9277
+ "abstract": true,
9278
+ "docs": {
9279
+ "stability": "stable",
9280
+ "summary": "An Amazon Managed Service for Prometheus workspace is a logical and isolated Prometheus server dedicated to ingesting, storing, and querying your Prometheus-compatible metrics."
9281
+ },
9282
+ "immutable": true,
9283
+ "locationInModule": {
9284
+ "filename": "src/anomaly-detector-base.ts",
9285
+ "line": 134
9286
+ },
9287
+ "name": "workspace",
9288
+ "type": {
9289
+ "fqn": "@robhan-cdk-lib/aws_aps.IWorkspace"
9290
+ }
9291
+ },
9292
+ {
9293
+ "abstract": true,
9294
+ "docs": {
9295
+ "remarks": "Minimum value of 30. Maximum value of 86400.",
9296
+ "stability": "stable",
9297
+ "summary": "The frequency, in seconds, at which the anomaly detector evaluates metrics."
9298
+ },
9299
+ "immutable": true,
9300
+ "locationInModule": {
9301
+ "filename": "src/anomaly-detector-base.ts",
9302
+ "line": 114
9303
+ },
9304
+ "name": "evaluationIntervalInSeconds",
9195
9305
  "optional": true,
9196
9306
  "type": {
9197
9307
  "primitive": "number"
9198
9308
  }
9199
- }
9200
- ],
9201
- "symbolId": "src/workspace-base:LimitsPerLabelSetEntry"
9202
- },
9203
- "@robhan-cdk-lib/aws_aps.LoggingConfiguration": {
9204
- "assembly": "@robhan-cdk-lib/aws_aps",
9205
- "datatype": true,
9206
- "docs": {
9207
- "stability": "stable",
9208
- "summary": "Contains information about the rules and alerting logging configuration for the workspace."
9209
- },
9210
- "fqn": "@robhan-cdk-lib/aws_aps.LoggingConfiguration",
9211
- "kind": "interface",
9212
- "locationInModule": {
9213
- "filename": "src/workspace-base.ts",
9214
- "line": 8
9215
- },
9216
- "name": "LoggingConfiguration",
9217
- "properties": [
9309
+ },
9218
9310
  {
9219
9311
  "abstract": true,
9220
9312
  "docs": {
9313
+ "remarks": "Map Entries: Minimum number of 0 items. Maximum number of 140 items.\nKey Length Constraints: Minimum length of 1. Maximum length of 7168.\nKey Pattern: (?!__)[a-zA-Z_][a-zA-Z0-9_]*\nValue Length Constraints: Minimum length of 1. Maximum length of 7168.",
9221
9314
  "stability": "stable",
9222
- "summary": "The CloudWatch log group to which the vended log data will be published."
9315
+ "summary": "The Amazon Managed Service for Prometheus metric labels associated with the anomaly detector."
9223
9316
  },
9224
9317
  "immutable": true,
9225
9318
  "locationInModule": {
9226
- "filename": "src/workspace-base.ts",
9227
- "line": 12
9319
+ "filename": "src/anomaly-detector-base.ts",
9320
+ "line": 124
9228
9321
  },
9229
- "name": "logGroup",
9322
+ "name": "labels",
9230
9323
  "optional": true,
9231
9324
  "type": {
9232
- "fqn": "aws-cdk-lib.aws_logs.ILogGroup"
9325
+ "collection": {
9326
+ "elementtype": {
9327
+ "fqn": "@robhan-cdk-lib/aws_aps.Label"
9328
+ },
9329
+ "kind": "array"
9330
+ }
9331
+ }
9332
+ },
9333
+ {
9334
+ "abstract": true,
9335
+ "docs": {
9336
+ "stability": "stable",
9337
+ "summary": "The action taken when data is missing during evaluation."
9338
+ },
9339
+ "immutable": true,
9340
+ "locationInModule": {
9341
+ "filename": "src/anomaly-detector-base.ts",
9342
+ "line": 129
9343
+ },
9344
+ "name": "missingDataAction",
9345
+ "optional": true,
9346
+ "type": {
9347
+ "fqn": "@robhan-cdk-lib/aws_aps.MissingDataAction"
9233
9348
  }
9234
9349
  }
9235
9350
  ],
9236
- "symbolId": "src/workspace-base:LoggingConfiguration"
9351
+ "symbolId": "src/anomaly-detector-base:IAnomalyDetector"
9237
9352
  },
9238
- "@robhan-cdk-lib/aws_aps.LoggingDestination": {
9353
+ "@robhan-cdk-lib/aws_aps.IResourcePolicy": {
9239
9354
  "assembly": "@robhan-cdk-lib/aws_aps",
9240
- "datatype": true,
9241
9355
  "docs": {
9242
- "stability": "stable",
9243
- "summary": "The logging destination in an Amazon Managed Service for Prometheus workspace."
9356
+ "stability": "stable"
9244
9357
  },
9245
- "fqn": "@robhan-cdk-lib/aws_aps.LoggingDestination",
9358
+ "fqn": "@robhan-cdk-lib/aws_aps.IResourcePolicy",
9359
+ "interfaces": [
9360
+ "aws-cdk-lib.IResource"
9361
+ ],
9246
9362
  "kind": "interface",
9247
9363
  "locationInModule": {
9248
- "filename": "src/workspace-base.ts",
9249
- "line": 40
9364
+ "filename": "src/resource-policy-base.ts",
9365
+ "line": 4
9250
9366
  },
9251
- "name": "LoggingDestination",
9367
+ "name": "IResourcePolicy",
9252
9368
  "properties": [
9253
9369
  {
9254
9370
  "abstract": true,
9255
9371
  "docs": {
9256
9372
  "stability": "stable",
9257
- "summary": "Configuration details for logging to CloudWatch Logs."
9373
+ "summary": "The JSON to use as the Resource-based Policy."
9258
9374
  },
9259
9375
  "immutable": true,
9260
9376
  "locationInModule": {
9261
- "filename": "src/workspace-base.ts",
9262
- "line": 44
9377
+ "filename": "src/resource-policy-base.ts",
9378
+ "line": 8
9263
9379
  },
9264
- "name": "cloudWatchLogs",
9380
+ "name": "policyDocument",
9265
9381
  "type": {
9266
- "fqn": "@robhan-cdk-lib/aws_aps.CloudWatchLogDestination"
9382
+ "primitive": "string"
9267
9383
  }
9268
9384
  },
9269
9385
  {
9270
9386
  "abstract": true,
9271
9387
  "docs": {
9272
9388
  "stability": "stable",
9273
- "summary": "Filtering criteria that determine which queries are logged."
9389
+ "summary": "The workspace to attach the policy to."
9274
9390
  },
9275
9391
  "immutable": true,
9276
9392
  "locationInModule": {
9277
- "filename": "src/workspace-base.ts",
9278
- "line": 48
9393
+ "filename": "src/resource-policy-base.ts",
9394
+ "line": 13
9279
9395
  },
9280
- "name": "filters",
9396
+ "name": "workspace",
9281
9397
  "type": {
9282
- "fqn": "@robhan-cdk-lib/aws_aps.LoggingFilter"
9398
+ "fqn": "@robhan-cdk-lib/aws_aps.IWorkspace"
9283
9399
  }
9284
9400
  }
9285
9401
  ],
9286
- "symbolId": "src/workspace-base:LoggingDestination"
9402
+ "symbolId": "src/resource-policy-base:IResourcePolicy"
9287
9403
  },
9288
- "@robhan-cdk-lib/aws_aps.LoggingFilter": {
9404
+ "@robhan-cdk-lib/aws_aps.IRuleGroupsNamespace": {
9289
9405
  "assembly": "@robhan-cdk-lib/aws_aps",
9290
- "datatype": true,
9291
9406
  "docs": {
9292
- "stability": "stable",
9293
- "summary": "Filtering criteria that determine which queries are logged."
9407
+ "stability": "stable"
9294
9408
  },
9295
- "fqn": "@robhan-cdk-lib/aws_aps.LoggingFilter",
9409
+ "fqn": "@robhan-cdk-lib/aws_aps.IRuleGroupsNamespace",
9410
+ "interfaces": [
9411
+ "aws-cdk-lib.IResource"
9412
+ ],
9296
9413
  "kind": "interface",
9297
9414
  "locationInModule": {
9298
- "filename": "src/workspace-base.ts",
9299
- "line": 28
9415
+ "filename": "src/rule-groups-namespace-base.ts",
9416
+ "line": 4
9300
9417
  },
9301
- "name": "LoggingFilter",
9418
+ "name": "IRuleGroupsNamespace",
9302
9419
  "properties": [
9303
9420
  {
9304
9421
  "abstract": true,
9305
9422
  "docs": {
9306
- "remarks": "Minimum 0",
9307
9423
  "stability": "stable",
9308
- "summary": "Integer."
9424
+ "summary": "The rules file used in the namespace."
9309
9425
  },
9310
9426
  "immutable": true,
9311
9427
  "locationInModule": {
9312
- "filename": "src/workspace-base.ts",
9313
- "line": 34
9428
+ "filename": "src/rule-groups-namespace-base.ts",
9429
+ "line": 8
9314
9430
  },
9315
- "name": "qspThreshold",
9431
+ "name": "data",
9316
9432
  "type": {
9317
- "primitive": "number"
9433
+ "primitive": "string"
9318
9434
  }
9319
- }
9320
- ],
9321
- "symbolId": "src/workspace-base:LoggingFilter"
9322
- },
9323
- "@robhan-cdk-lib/aws_aps.QueryLoggingConfiguration": {
9324
- "assembly": "@robhan-cdk-lib/aws_aps",
9325
- "datatype": true,
9326
- "docs": {
9327
- "stability": "stable",
9328
- "summary": "The query logging configuration in an Amazon Managed Service for Prometheus workspace."
9329
- },
9330
- "fqn": "@robhan-cdk-lib/aws_aps.QueryLoggingConfiguration",
9331
- "kind": "interface",
9332
- "locationInModule": {
9333
- "filename": "src/workspace-base.ts",
9334
- "line": 54
9335
- },
9336
- "name": "QueryLoggingConfiguration",
9337
- "properties": [
9435
+ },
9338
9436
  {
9339
9437
  "abstract": true,
9340
9438
  "docs": {
9341
- "remarks": "Minimum 1 and maximum 1 item in array.",
9342
9439
  "stability": "stable",
9343
- "summary": "Defines a destination and its associated filtering criteria for query logging."
9440
+ "summary": "The name of the rule groups namespace."
9344
9441
  },
9345
9442
  "immutable": true,
9346
9443
  "locationInModule": {
9347
- "filename": "src/workspace-base.ts",
9348
- "line": 60
9444
+ "filename": "src/rule-groups-namespace-base.ts",
9445
+ "line": 13
9349
9446
  },
9350
- "name": "destinations",
9447
+ "name": "name",
9351
9448
  "type": {
9352
- "collection": {
9353
- "elementtype": {
9354
- "fqn": "@robhan-cdk-lib/aws_aps.LoggingDestination"
9355
- },
9356
- "kind": "array"
9357
- }
9449
+ "primitive": "string"
9450
+ }
9451
+ },
9452
+ {
9453
+ "abstract": true,
9454
+ "docs": {
9455
+ "custom": {
9456
+ "attribute": "true"
9457
+ },
9458
+ "stability": "stable",
9459
+ "summary": "The ARN of the rule groups namespace."
9460
+ },
9461
+ "immutable": true,
9462
+ "locationInModule": {
9463
+ "filename": "src/rule-groups-namespace-base.ts",
9464
+ "line": 19
9465
+ },
9466
+ "name": "ruleGroupsNamespaceArn",
9467
+ "type": {
9468
+ "primitive": "string"
9469
+ }
9470
+ },
9471
+ {
9472
+ "abstract": true,
9473
+ "docs": {
9474
+ "stability": "stable",
9475
+ "summary": "The workspace to add the rule groups namespace."
9476
+ },
9477
+ "immutable": true,
9478
+ "locationInModule": {
9479
+ "filename": "src/rule-groups-namespace-base.ts",
9480
+ "line": 24
9481
+ },
9482
+ "name": "workspace",
9483
+ "type": {
9484
+ "fqn": "@robhan-cdk-lib/aws_aps.IWorkspace"
9485
+ }
9486
+ }
9487
+ ],
9488
+ "symbolId": "src/rule-groups-namespace-base:IRuleGroupsNamespace"
9489
+ },
9490
+ "@robhan-cdk-lib/aws_aps.IScraper": {
9491
+ "assembly": "@robhan-cdk-lib/aws_aps",
9492
+ "docs": {
9493
+ "stability": "stable"
9494
+ },
9495
+ "fqn": "@robhan-cdk-lib/aws_aps.IScraper",
9496
+ "interfaces": [
9497
+ "aws-cdk-lib.IResource"
9498
+ ],
9499
+ "kind": "interface",
9500
+ "locationInModule": {
9501
+ "filename": "src/scraper-base.ts",
9502
+ "line": 86
9503
+ },
9504
+ "name": "IScraper",
9505
+ "properties": [
9506
+ {
9507
+ "abstract": true,
9508
+ "docs": {
9509
+ "stability": "stable",
9510
+ "summary": "The Amazon Managed Service for Prometheus workspace the scraper sends metrics to."
9511
+ },
9512
+ "immutable": true,
9513
+ "locationInModule": {
9514
+ "filename": "src/scraper-base.ts",
9515
+ "line": 99
9516
+ },
9517
+ "name": "destination",
9518
+ "type": {
9519
+ "fqn": "@robhan-cdk-lib/aws_aps.Destination"
9520
+ }
9521
+ },
9522
+ {
9523
+ "abstract": true,
9524
+ "docs": {
9525
+ "stability": "stable",
9526
+ "summary": "The configuration in use by the scraper."
9527
+ },
9528
+ "immutable": true,
9529
+ "locationInModule": {
9530
+ "filename": "src/scraper-base.ts",
9531
+ "line": 109
9532
+ },
9533
+ "name": "scrapeConfiguration",
9534
+ "type": {
9535
+ "fqn": "@robhan-cdk-lib/aws_aps.ScrapeConfiguration"
9536
+ }
9537
+ },
9538
+ {
9539
+ "abstract": true,
9540
+ "docs": {
9541
+ "custom": {
9542
+ "attribute": "true"
9543
+ },
9544
+ "stability": "stable",
9545
+ "summary": "The ARN of the scraper."
9546
+ },
9547
+ "immutable": true,
9548
+ "locationInModule": {
9549
+ "filename": "src/scraper-base.ts",
9550
+ "line": 126
9551
+ },
9552
+ "name": "scraperArn",
9553
+ "type": {
9554
+ "primitive": "string"
9555
+ }
9556
+ },
9557
+ {
9558
+ "abstract": true,
9559
+ "docs": {
9560
+ "custom": {
9561
+ "attribute": "true"
9562
+ },
9563
+ "stability": "stable",
9564
+ "summary": "The ID of the scraper."
9565
+ },
9566
+ "immutable": true,
9567
+ "locationInModule": {
9568
+ "filename": "src/scraper-base.ts",
9569
+ "line": 120
9570
+ },
9571
+ "name": "scraperId",
9572
+ "type": {
9573
+ "primitive": "string"
9574
+ }
9575
+ },
9576
+ {
9577
+ "abstract": true,
9578
+ "docs": {
9579
+ "stability": "stable",
9580
+ "summary": "The Amazon EKS cluster from which the scraper collects metrics."
9581
+ },
9582
+ "immutable": true,
9583
+ "locationInModule": {
9584
+ "filename": "src/scraper-base.ts",
9585
+ "line": 114
9586
+ },
9587
+ "name": "source",
9588
+ "type": {
9589
+ "fqn": "@robhan-cdk-lib/aws_aps.Source"
9590
+ }
9591
+ },
9592
+ {
9593
+ "abstract": true,
9594
+ "docs": {
9595
+ "remarks": "1-100 characters.\n\nPattern: ^[0-9A-Za-z][-.0-9A-Z_a-z]*$",
9596
+ "stability": "stable",
9597
+ "summary": "An optional user-assigned scraper alias."
9598
+ },
9599
+ "immutable": true,
9600
+ "locationInModule": {
9601
+ "filename": "src/scraper-base.ts",
9602
+ "line": 94
9603
+ },
9604
+ "name": "alias",
9605
+ "optional": true,
9606
+ "type": {
9607
+ "primitive": "string"
9608
+ }
9609
+ },
9610
+ {
9611
+ "abstract": true,
9612
+ "docs": {
9613
+ "stability": "stable",
9614
+ "summary": "The role configuration in an Amazon Managed Service for Prometheus scraper."
9615
+ },
9616
+ "immutable": true,
9617
+ "locationInModule": {
9618
+ "filename": "src/scraper-base.ts",
9619
+ "line": 104
9620
+ },
9621
+ "name": "roleConfiguration",
9622
+ "optional": true,
9623
+ "type": {
9624
+ "fqn": "@robhan-cdk-lib/aws_aps.RoleConfiguration"
9625
+ }
9626
+ }
9627
+ ],
9628
+ "symbolId": "src/scraper-base:IScraper"
9629
+ },
9630
+ "@robhan-cdk-lib/aws_aps.IWorkspace": {
9631
+ "assembly": "@robhan-cdk-lib/aws_aps",
9632
+ "docs": {
9633
+ "stability": "stable"
9634
+ },
9635
+ "fqn": "@robhan-cdk-lib/aws_aps.IWorkspace",
9636
+ "interfaces": [
9637
+ "aws-cdk-lib.IResource"
9638
+ ],
9639
+ "kind": "interface",
9640
+ "locationInModule": {
9641
+ "filename": "src/workspace-base.ts",
9642
+ "line": 147
9643
+ },
9644
+ "name": "IWorkspace",
9645
+ "properties": [
9646
+ {
9647
+ "abstract": true,
9648
+ "docs": {
9649
+ "custom": {
9650
+ "attribute": "true"
9651
+ },
9652
+ "stability": "stable",
9653
+ "summary": "The ARN of the workspace."
9654
+ },
9655
+ "immutable": true,
9656
+ "locationInModule": {
9657
+ "filename": "src/workspace-base.ts",
9658
+ "line": 194
9659
+ },
9660
+ "name": "workspaceArn",
9661
+ "type": {
9662
+ "primitive": "string"
9663
+ }
9664
+ },
9665
+ {
9666
+ "abstract": true,
9667
+ "docs": {
9668
+ "custom": {
9669
+ "attribute": "true"
9670
+ },
9671
+ "stability": "stable",
9672
+ "summary": "The unique ID for the workspace."
9673
+ },
9674
+ "immutable": true,
9675
+ "locationInModule": {
9676
+ "filename": "src/workspace-base.ts",
9677
+ "line": 188
9678
+ },
9679
+ "name": "workspaceId",
9680
+ "type": {
9681
+ "primitive": "string"
9682
+ }
9683
+ },
9684
+ {
9685
+ "abstract": true,
9686
+ "docs": {
9687
+ "stability": "stable",
9688
+ "summary": "The alert manager definition, a YAML configuration for the alert manager in your Amazon Managed Service for Prometheus workspace."
9689
+ },
9690
+ "immutable": true,
9691
+ "locationInModule": {
9692
+ "filename": "src/workspace-base.ts",
9693
+ "line": 152
9694
+ },
9695
+ "name": "alertManagerDefinition",
9696
+ "optional": true,
9697
+ "type": {
9698
+ "primitive": "string"
9699
+ }
9700
+ },
9701
+ {
9702
+ "abstract": true,
9703
+ "docs": {
9704
+ "remarks": "It does not need to be\nunique.",
9705
+ "stability": "stable",
9706
+ "summary": "The alias that is assigned to this workspace to help identify it."
9707
+ },
9708
+ "immutable": true,
9709
+ "locationInModule": {
9710
+ "filename": "src/workspace-base.ts",
9711
+ "line": 158
9712
+ },
9713
+ "name": "alias",
9714
+ "optional": true,
9715
+ "type": {
9716
+ "primitive": "string"
9717
+ }
9718
+ },
9719
+ {
9720
+ "abstract": true,
9721
+ "docs": {
9722
+ "stability": "stable",
9723
+ "summary": "The customer managed AWS KMS key to use for encrypting data within your workspace."
9724
+ },
9725
+ "immutable": true,
9726
+ "locationInModule": {
9727
+ "filename": "src/workspace-base.ts",
9728
+ "line": 163
9729
+ },
9730
+ "name": "kmsKey",
9731
+ "optional": true,
9732
+ "type": {
9733
+ "fqn": "aws-cdk-lib.aws_kms.IKey"
9734
+ }
9735
+ },
9736
+ {
9737
+ "abstract": true,
9738
+ "docs": {
9739
+ "remarks": "Note: These logging configurations are only for rules and alerting logs.",
9740
+ "stability": "stable",
9741
+ "summary": "Contains information about the current rules and alerting logging configuration for the workspace."
9742
+ },
9743
+ "immutable": true,
9744
+ "locationInModule": {
9745
+ "filename": "src/workspace-base.ts",
9746
+ "line": 171
9747
+ },
9748
+ "name": "loggingConfiguration",
9749
+ "optional": true,
9750
+ "type": {
9751
+ "fqn": "@robhan-cdk-lib/aws_aps.LoggingConfiguration"
9752
+ }
9753
+ },
9754
+ {
9755
+ "abstract": true,
9756
+ "docs": {
9757
+ "stability": "stable",
9758
+ "summary": "The definition of logging configuration in an Amazon Managed Service for Prometheus workspace."
9759
+ },
9760
+ "immutable": true,
9761
+ "locationInModule": {
9762
+ "filename": "src/workspace-base.ts",
9763
+ "line": 176
9764
+ },
9765
+ "name": "queryLoggingConfiguration",
9766
+ "optional": true,
9767
+ "type": {
9768
+ "fqn": "@robhan-cdk-lib/aws_aps.QueryLoggingConfiguration"
9769
+ }
9770
+ },
9771
+ {
9772
+ "abstract": true,
9773
+ "docs": {
9774
+ "stability": "stable",
9775
+ "summary": "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."
9776
+ },
9777
+ "immutable": true,
9778
+ "locationInModule": {
9779
+ "filename": "src/workspace-base.ts",
9780
+ "line": 182
9781
+ },
9782
+ "name": "workspaceConfiguration",
9783
+ "optional": true,
9784
+ "type": {
9785
+ "fqn": "@robhan-cdk-lib/aws_aps.WorkspaceConfiguration"
9786
+ }
9787
+ }
9788
+ ],
9789
+ "symbolId": "src/workspace-base:IWorkspace"
9790
+ },
9791
+ "@robhan-cdk-lib/aws_aps.IgnoreNearExpected": {
9792
+ "assembly": "@robhan-cdk-lib/aws_aps",
9793
+ "datatype": true,
9794
+ "docs": {
9795
+ "stability": "stable",
9796
+ "summary": "Configuration for threshold settings that determine when values near expected values should be ignored during anomaly detection."
9797
+ },
9798
+ "fqn": "@robhan-cdk-lib/aws_aps.IgnoreNearExpected",
9799
+ "kind": "interface",
9800
+ "locationInModule": {
9801
+ "filename": "src/anomaly-detector-base.ts",
9802
+ "line": 7
9803
+ },
9804
+ "name": "IgnoreNearExpected",
9805
+ "properties": [
9806
+ {
9807
+ "abstract": true,
9808
+ "docs": {
9809
+ "stability": "stable",
9810
+ "summary": "The absolute amount by which values can differ from expected values before being considered anomalous."
9811
+ },
9812
+ "immutable": true,
9813
+ "locationInModule": {
9814
+ "filename": "src/anomaly-detector-base.ts",
9815
+ "line": 11
9816
+ },
9817
+ "name": "amount",
9818
+ "optional": true,
9819
+ "type": {
9820
+ "primitive": "number"
9821
+ }
9822
+ },
9823
+ {
9824
+ "abstract": true,
9825
+ "docs": {
9826
+ "stability": "stable",
9827
+ "summary": "The ratio by which values can differ from expected values before being considered anomalous."
9828
+ },
9829
+ "immutable": true,
9830
+ "locationInModule": {
9831
+ "filename": "src/anomaly-detector-base.ts",
9832
+ "line": 16
9833
+ },
9834
+ "name": "ratio",
9835
+ "optional": true,
9836
+ "type": {
9837
+ "primitive": "number"
9838
+ }
9839
+ }
9840
+ ],
9841
+ "symbolId": "src/anomaly-detector-base:IgnoreNearExpected"
9842
+ },
9843
+ "@robhan-cdk-lib/aws_aps.Label": {
9844
+ "assembly": "@robhan-cdk-lib/aws_aps",
9845
+ "datatype": true,
9846
+ "docs": {
9847
+ "remarks": "This structure defines the\nname and value for one label that is used in a label set. You can set ingestion limits on time\nseries that match defined label sets, to help prevent a workspace from being overwhelmed with\nunexpected spikes in time series ingestion.",
9848
+ "stability": "stable",
9849
+ "summary": "A label is a name:value pair used to add context to ingested metrics."
9850
+ },
9851
+ "fqn": "@robhan-cdk-lib/aws_aps.Label",
9852
+ "kind": "interface",
9853
+ "locationInModule": {
9854
+ "filename": "src/workspace-base.ts",
9855
+ "line": 83
9856
+ },
9857
+ "name": "Label",
9858
+ "properties": [
9859
+ {
9860
+ "abstract": true,
9861
+ "docs": {
9862
+ "remarks": "Pattern: ^[a-zA-Z_][a-zA-Z0-9_]*$\n\nAt least one character.",
9863
+ "stability": "stable",
9864
+ "summary": "The name for this label."
9865
+ },
9866
+ "immutable": true,
9867
+ "locationInModule": {
9868
+ "filename": "src/workspace-base.ts",
9869
+ "line": 91
9870
+ },
9871
+ "name": "name",
9872
+ "type": {
9873
+ "primitive": "string"
9874
+ }
9875
+ },
9876
+ {
9877
+ "abstract": true,
9878
+ "docs": {
9879
+ "remarks": "At least one character.",
9880
+ "stability": "stable",
9881
+ "summary": "The value for this label."
9882
+ },
9883
+ "immutable": true,
9884
+ "locationInModule": {
9885
+ "filename": "src/workspace-base.ts",
9886
+ "line": 97
9887
+ },
9888
+ "name": "value",
9889
+ "type": {
9890
+ "primitive": "string"
9891
+ }
9892
+ }
9893
+ ],
9894
+ "symbolId": "src/workspace-base:Label"
9895
+ },
9896
+ "@robhan-cdk-lib/aws_aps.LimitsPerLabelSet": {
9897
+ "assembly": "@robhan-cdk-lib/aws_aps",
9898
+ "datatype": true,
9899
+ "docs": {
9900
+ "remarks": "Each label name in a label set must be unique.",
9901
+ "stability": "stable",
9902
+ "summary": "This defines a label set for the workspace, and defines the ingestion limit for active time series that match that label set."
9903
+ },
9904
+ "fqn": "@robhan-cdk-lib/aws_aps.LimitsPerLabelSet",
9905
+ "kind": "interface",
9906
+ "locationInModule": {
9907
+ "filename": "src/workspace-base.ts",
9908
+ "line": 104
9909
+ },
9910
+ "name": "LimitsPerLabelSet",
9911
+ "properties": [
9912
+ {
9913
+ "abstract": true,
9914
+ "docs": {
9915
+ "remarks": "You can set ingestion\nlimits on time series that match defined label sets, to help prevent a workspace from being\noverwhelmed with unexpected spikes in time series ingestion.\n\nLabel values accept all UTF-8 characters with one exception. If the label name is metric\nname label __name__, then the metric part of the name must conform to the following pattern:\n[a-zA-Z_:][a-zA-Z0-9_:]*\n\nMinimum 0",
9916
+ "stability": "stable",
9917
+ "summary": "This defines one label set that will have an enforced ingestion limit."
9918
+ },
9919
+ "immutable": true,
9920
+ "locationInModule": {
9921
+ "filename": "src/workspace-base.ts",
9922
+ "line": 116
9923
+ },
9924
+ "name": "labelSet",
9925
+ "type": {
9926
+ "collection": {
9927
+ "elementtype": {
9928
+ "fqn": "@robhan-cdk-lib/aws_aps.Label"
9929
+ },
9930
+ "kind": "array"
9931
+ }
9932
+ }
9933
+ },
9934
+ {
9935
+ "abstract": true,
9936
+ "docs": {
9937
+ "stability": "stable",
9938
+ "summary": "This structure contains the information about the limits that apply to time series that match this label set."
9939
+ },
9940
+ "immutable": true,
9941
+ "locationInModule": {
9942
+ "filename": "src/workspace-base.ts",
9943
+ "line": 122
9944
+ },
9945
+ "name": "limits",
9946
+ "type": {
9947
+ "fqn": "@robhan-cdk-lib/aws_aps.LimitsPerLabelSetEntry"
9948
+ }
9949
+ }
9950
+ ],
9951
+ "symbolId": "src/workspace-base:LimitsPerLabelSet"
9952
+ },
9953
+ "@robhan-cdk-lib/aws_aps.LimitsPerLabelSetEntry": {
9954
+ "assembly": "@robhan-cdk-lib/aws_aps",
9955
+ "datatype": true,
9956
+ "docs": {
9957
+ "stability": "stable",
9958
+ "summary": "This structure contains the limits that apply to time series that match one label set."
9959
+ },
9960
+ "fqn": "@robhan-cdk-lib/aws_aps.LimitsPerLabelSetEntry",
9961
+ "kind": "interface",
9962
+ "locationInModule": {
9963
+ "filename": "src/workspace-base.ts",
9964
+ "line": 66
9965
+ },
9966
+ "name": "LimitsPerLabelSetEntry",
9967
+ "properties": [
9968
+ {
9969
+ "abstract": true,
9970
+ "docs": {
9971
+ "remarks": "Setting this to 0 causes no label set limit to be enforced, but it does cause Amazon Managed\nService for Prometheus to vend label set metrics to CloudWatch Logs.\n\nMinimum 0",
9972
+ "stability": "stable",
9973
+ "summary": "The maximum number of active series that can be ingested that match this label set."
9974
+ },
9975
+ "immutable": true,
9976
+ "locationInModule": {
9977
+ "filename": "src/workspace-base.ts",
9978
+ "line": 74
9979
+ },
9980
+ "name": "maxSeries",
9981
+ "optional": true,
9982
+ "type": {
9983
+ "primitive": "number"
9984
+ }
9985
+ }
9986
+ ],
9987
+ "symbolId": "src/workspace-base:LimitsPerLabelSetEntry"
9988
+ },
9989
+ "@robhan-cdk-lib/aws_aps.LoggingConfiguration": {
9990
+ "assembly": "@robhan-cdk-lib/aws_aps",
9991
+ "datatype": true,
9992
+ "docs": {
9993
+ "stability": "stable",
9994
+ "summary": "Contains information about the rules and alerting logging configuration for the workspace."
9995
+ },
9996
+ "fqn": "@robhan-cdk-lib/aws_aps.LoggingConfiguration",
9997
+ "kind": "interface",
9998
+ "locationInModule": {
9999
+ "filename": "src/workspace-base.ts",
10000
+ "line": 8
10001
+ },
10002
+ "name": "LoggingConfiguration",
10003
+ "properties": [
10004
+ {
10005
+ "abstract": true,
10006
+ "docs": {
10007
+ "stability": "stable",
10008
+ "summary": "The CloudWatch log group to which the vended log data will be published."
10009
+ },
10010
+ "immutable": true,
10011
+ "locationInModule": {
10012
+ "filename": "src/workspace-base.ts",
10013
+ "line": 12
10014
+ },
10015
+ "name": "logGroup",
10016
+ "optional": true,
10017
+ "type": {
10018
+ "fqn": "aws-cdk-lib.aws_logs.ILogGroup"
10019
+ }
10020
+ }
10021
+ ],
10022
+ "symbolId": "src/workspace-base:LoggingConfiguration"
10023
+ },
10024
+ "@robhan-cdk-lib/aws_aps.LoggingDestination": {
10025
+ "assembly": "@robhan-cdk-lib/aws_aps",
10026
+ "datatype": true,
10027
+ "docs": {
10028
+ "stability": "stable",
10029
+ "summary": "The logging destination in an Amazon Managed Service for Prometheus workspace."
10030
+ },
10031
+ "fqn": "@robhan-cdk-lib/aws_aps.LoggingDestination",
10032
+ "kind": "interface",
10033
+ "locationInModule": {
10034
+ "filename": "src/workspace-base.ts",
10035
+ "line": 40
10036
+ },
10037
+ "name": "LoggingDestination",
10038
+ "properties": [
10039
+ {
10040
+ "abstract": true,
10041
+ "docs": {
10042
+ "stability": "stable",
10043
+ "summary": "Configuration details for logging to CloudWatch Logs."
10044
+ },
10045
+ "immutable": true,
10046
+ "locationInModule": {
10047
+ "filename": "src/workspace-base.ts",
10048
+ "line": 44
10049
+ },
10050
+ "name": "cloudWatchLogs",
10051
+ "type": {
10052
+ "fqn": "@robhan-cdk-lib/aws_aps.CloudWatchLogDestination"
10053
+ }
10054
+ },
10055
+ {
10056
+ "abstract": true,
10057
+ "docs": {
10058
+ "stability": "stable",
10059
+ "summary": "Filtering criteria that determine which queries are logged."
10060
+ },
10061
+ "immutable": true,
10062
+ "locationInModule": {
10063
+ "filename": "src/workspace-base.ts",
10064
+ "line": 48
10065
+ },
10066
+ "name": "filters",
10067
+ "type": {
10068
+ "fqn": "@robhan-cdk-lib/aws_aps.LoggingFilter"
10069
+ }
10070
+ }
10071
+ ],
10072
+ "symbolId": "src/workspace-base:LoggingDestination"
10073
+ },
10074
+ "@robhan-cdk-lib/aws_aps.LoggingFilter": {
10075
+ "assembly": "@robhan-cdk-lib/aws_aps",
10076
+ "datatype": true,
10077
+ "docs": {
10078
+ "stability": "stable",
10079
+ "summary": "Filtering criteria that determine which queries are logged."
10080
+ },
10081
+ "fqn": "@robhan-cdk-lib/aws_aps.LoggingFilter",
10082
+ "kind": "interface",
10083
+ "locationInModule": {
10084
+ "filename": "src/workspace-base.ts",
10085
+ "line": 28
10086
+ },
10087
+ "name": "LoggingFilter",
10088
+ "properties": [
10089
+ {
10090
+ "abstract": true,
10091
+ "docs": {
10092
+ "remarks": "Minimum 0",
10093
+ "stability": "stable",
10094
+ "summary": "Integer."
10095
+ },
10096
+ "immutable": true,
10097
+ "locationInModule": {
10098
+ "filename": "src/workspace-base.ts",
10099
+ "line": 34
10100
+ },
10101
+ "name": "qspThreshold",
10102
+ "type": {
10103
+ "primitive": "number"
10104
+ }
10105
+ }
10106
+ ],
10107
+ "symbolId": "src/workspace-base:LoggingFilter"
10108
+ },
10109
+ "@robhan-cdk-lib/aws_aps.MissingDataAction": {
10110
+ "assembly": "@robhan-cdk-lib/aws_aps",
10111
+ "datatype": true,
10112
+ "docs": {
10113
+ "stability": "stable",
10114
+ "summary": "Specifies the action to take when data is missing during anomaly detection evaluation."
10115
+ },
10116
+ "fqn": "@robhan-cdk-lib/aws_aps.MissingDataAction",
10117
+ "kind": "interface",
10118
+ "locationInModule": {
10119
+ "filename": "src/anomaly-detector-base.ts",
10120
+ "line": 83
10121
+ },
10122
+ "name": "MissingDataAction",
10123
+ "properties": [
10124
+ {
10125
+ "abstract": true,
10126
+ "docs": {
10127
+ "stability": "stable",
10128
+ "summary": "Marks missing data points as anomalies."
10129
+ },
10130
+ "immutable": true,
10131
+ "locationInModule": {
10132
+ "filename": "src/anomaly-detector-base.ts",
10133
+ "line": 87
10134
+ },
10135
+ "name": "markAsAnomaly",
10136
+ "optional": true,
10137
+ "type": {
10138
+ "primitive": "boolean"
10139
+ }
10140
+ },
10141
+ {
10142
+ "abstract": true,
10143
+ "docs": {
10144
+ "stability": "stable",
10145
+ "summary": "Skips evaluation when data is missing."
10146
+ },
10147
+ "immutable": true,
10148
+ "locationInModule": {
10149
+ "filename": "src/anomaly-detector-base.ts",
10150
+ "line": 92
10151
+ },
10152
+ "name": "skip",
10153
+ "optional": true,
10154
+ "type": {
10155
+ "primitive": "boolean"
10156
+ }
10157
+ }
10158
+ ],
10159
+ "symbolId": "src/anomaly-detector-base:MissingDataAction"
10160
+ },
10161
+ "@robhan-cdk-lib/aws_aps.QueryLoggingConfiguration": {
10162
+ "assembly": "@robhan-cdk-lib/aws_aps",
10163
+ "datatype": true,
10164
+ "docs": {
10165
+ "stability": "stable",
10166
+ "summary": "The query logging configuration in an Amazon Managed Service for Prometheus workspace."
10167
+ },
10168
+ "fqn": "@robhan-cdk-lib/aws_aps.QueryLoggingConfiguration",
10169
+ "kind": "interface",
10170
+ "locationInModule": {
10171
+ "filename": "src/workspace-base.ts",
10172
+ "line": 54
10173
+ },
10174
+ "name": "QueryLoggingConfiguration",
10175
+ "properties": [
10176
+ {
10177
+ "abstract": true,
10178
+ "docs": {
10179
+ "remarks": "Minimum 1 and maximum 1 item in array.",
10180
+ "stability": "stable",
10181
+ "summary": "Defines a destination and its associated filtering criteria for query logging."
10182
+ },
10183
+ "immutable": true,
10184
+ "locationInModule": {
10185
+ "filename": "src/workspace-base.ts",
10186
+ "line": 60
10187
+ },
10188
+ "name": "destinations",
10189
+ "type": {
10190
+ "collection": {
10191
+ "elementtype": {
10192
+ "fqn": "@robhan-cdk-lib/aws_aps.LoggingDestination"
10193
+ },
10194
+ "kind": "array"
10195
+ }
10196
+ }
10197
+ }
10198
+ ],
10199
+ "symbolId": "src/workspace-base:QueryLoggingConfiguration"
10200
+ },
10201
+ "@robhan-cdk-lib/aws_aps.RandomCutForestConfiguration": {
10202
+ "assembly": "@robhan-cdk-lib/aws_aps",
10203
+ "datatype": true,
10204
+ "docs": {
10205
+ "stability": "stable",
10206
+ "summary": "Configuration for the Random Cut Forest algorithm used for anomaly detection in time-series data."
10207
+ },
10208
+ "fqn": "@robhan-cdk-lib/aws_aps.RandomCutForestConfiguration",
10209
+ "kind": "interface",
10210
+ "locationInModule": {
10211
+ "filename": "src/anomaly-detector-base.ts",
10212
+ "line": 22
10213
+ },
10214
+ "name": "RandomCutForestConfiguration",
10215
+ "properties": [
10216
+ {
10217
+ "abstract": true,
10218
+ "docs": {
10219
+ "remarks": "1 to 8192 characters length.",
10220
+ "stability": "stable",
10221
+ "summary": "The Prometheus query used to retrieve the time-series data for anomaly detection."
10222
+ },
10223
+ "immutable": true,
10224
+ "locationInModule": {
10225
+ "filename": "src/anomaly-detector-base.ts",
10226
+ "line": 36
10227
+ },
10228
+ "name": "query",
10229
+ "type": {
10230
+ "primitive": "string"
10231
+ }
10232
+ },
10233
+ {
10234
+ "abstract": true,
10235
+ "docs": {
10236
+ "stability": "stable",
10237
+ "summary": "Configuration for ignoring values that are near expected values from above during anomaly detection."
10238
+ },
10239
+ "immutable": true,
10240
+ "locationInModule": {
10241
+ "filename": "src/anomaly-detector-base.ts",
10242
+ "line": 26
10243
+ },
10244
+ "name": "ignoreNearExpectedFromAbove",
10245
+ "optional": true,
10246
+ "type": {
10247
+ "fqn": "@robhan-cdk-lib/aws_aps.IgnoreNearExpected"
10248
+ }
10249
+ },
10250
+ {
10251
+ "abstract": true,
10252
+ "docs": {
10253
+ "stability": "stable",
10254
+ "summary": "Configuration for ignoring values that are near expected values from below during anomaly detection."
10255
+ },
10256
+ "immutable": true,
10257
+ "locationInModule": {
10258
+ "filename": "src/anomaly-detector-base.ts",
10259
+ "line": 31
10260
+ },
10261
+ "name": "ignoreNearExpectedFromBelow",
10262
+ "optional": true,
10263
+ "type": {
10264
+ "fqn": "@robhan-cdk-lib/aws_aps.IgnoreNearExpected"
10265
+ }
10266
+ },
10267
+ {
10268
+ "abstract": true,
10269
+ "docs": {
10270
+ "remarks": "The default number is 256 consecutive data points.\n\nMinimum: 256\nMaximum: 1024",
10271
+ "stability": "stable",
10272
+ "summary": "The number of data points sampled from the input stream for the Random Cut Forest algorithm."
10273
+ },
10274
+ "immutable": true,
10275
+ "locationInModule": {
10276
+ "filename": "src/anomaly-detector-base.ts",
10277
+ "line": 44
10278
+ },
10279
+ "name": "sampleSize",
10280
+ "optional": true,
10281
+ "type": {
10282
+ "primitive": "number"
10283
+ }
10284
+ },
10285
+ {
10286
+ "abstract": true,
10287
+ "docs": {
10288
+ "remarks": "The default number is 8 consecutive data points.\n\nMinimum: 2\nMaximum: 1024",
10289
+ "stability": "stable",
10290
+ "summary": "The number of consecutive data points used to create a shingle for the Random Cut Forest algorithm."
10291
+ },
10292
+ "immutable": true,
10293
+ "locationInModule": {
10294
+ "filename": "src/anomaly-detector-base.ts",
10295
+ "line": 52
10296
+ },
10297
+ "name": "shingleSize",
10298
+ "optional": true,
10299
+ "type": {
10300
+ "primitive": "number"
9358
10301
  }
9359
10302
  }
9360
10303
  ],
9361
- "symbolId": "src/workspace-base:QueryLoggingConfiguration"
10304
+ "symbolId": "src/anomaly-detector-base:RandomCutForestConfiguration"
10305
+ },
10306
+ "@robhan-cdk-lib/aws_aps.ResourcePolicy": {
10307
+ "assembly": "@robhan-cdk-lib/aws_aps",
10308
+ "base": "@robhan-cdk-lib/aws_aps.ResourcePolicyBase",
10309
+ "docs": {
10310
+ "stability": "stable"
10311
+ },
10312
+ "fqn": "@robhan-cdk-lib/aws_aps.ResourcePolicy",
10313
+ "initializer": {
10314
+ "docs": {
10315
+ "stability": "stable"
10316
+ },
10317
+ "locationInModule": {
10318
+ "filename": "src/resource-policy.ts",
10319
+ "line": 70
10320
+ },
10321
+ "parameters": [
10322
+ {
10323
+ "name": "scope",
10324
+ "type": {
10325
+ "fqn": "constructs.Construct"
10326
+ }
10327
+ },
10328
+ {
10329
+ "name": "id",
10330
+ "type": {
10331
+ "primitive": "string"
10332
+ }
10333
+ },
10334
+ {
10335
+ "name": "props",
10336
+ "type": {
10337
+ "fqn": "@robhan-cdk-lib/aws_aps.ResourcePolicyProps"
10338
+ }
10339
+ }
10340
+ ]
10341
+ },
10342
+ "kind": "class",
10343
+ "locationInModule": {
10344
+ "filename": "src/resource-policy.ts",
10345
+ "line": 24
10346
+ },
10347
+ "methods": [
10348
+ {
10349
+ "docs": {
10350
+ "stability": "stable"
10351
+ },
10352
+ "locationInModule": {
10353
+ "filename": "src/resource-policy.ts",
10354
+ "line": 25
10355
+ },
10356
+ "name": "isResourcePolicy",
10357
+ "parameters": [
10358
+ {
10359
+ "name": "x",
10360
+ "type": {
10361
+ "primitive": "any"
10362
+ }
10363
+ }
10364
+ ],
10365
+ "returns": {
10366
+ "type": {
10367
+ "primitive": "boolean"
10368
+ }
10369
+ },
10370
+ "static": true
10371
+ }
10372
+ ],
10373
+ "name": "ResourcePolicy",
10374
+ "properties": [
10375
+ {
10376
+ "docs": {
10377
+ "stability": "stable",
10378
+ "summary": "The JSON to use as the Resource-based Policy."
10379
+ },
10380
+ "immutable": true,
10381
+ "locationInModule": {
10382
+ "filename": "src/resource-policy.ts",
10383
+ "line": 58
10384
+ },
10385
+ "name": "policyDocument",
10386
+ "overrides": "@robhan-cdk-lib/aws_aps.ResourcePolicyBase",
10387
+ "type": {
10388
+ "primitive": "string"
10389
+ }
10390
+ },
10391
+ {
10392
+ "docs": {
10393
+ "stability": "stable",
10394
+ "summary": "The workspace to attach the policy to."
10395
+ },
10396
+ "immutable": true,
10397
+ "locationInModule": {
10398
+ "filename": "src/resource-policy.ts",
10399
+ "line": 63
10400
+ },
10401
+ "name": "workspace",
10402
+ "overrides": "@robhan-cdk-lib/aws_aps.ResourcePolicyBase",
10403
+ "type": {
10404
+ "fqn": "@robhan-cdk-lib/aws_aps.IWorkspace"
10405
+ }
10406
+ }
10407
+ ],
10408
+ "symbolId": "src/resource-policy:ResourcePolicy"
10409
+ },
10410
+ "@robhan-cdk-lib/aws_aps.ResourcePolicyBase": {
10411
+ "abstract": true,
10412
+ "assembly": "@robhan-cdk-lib/aws_aps",
10413
+ "base": "aws-cdk-lib.Resource",
10414
+ "docs": {
10415
+ "stability": "stable"
10416
+ },
10417
+ "fqn": "@robhan-cdk-lib/aws_aps.ResourcePolicyBase",
10418
+ "initializer": {
10419
+ "docs": {
10420
+ "stability": "stable"
10421
+ },
10422
+ "locationInModule": {
10423
+ "filename": "core/lib/resource.ts",
10424
+ "line": 122
10425
+ },
10426
+ "parameters": [
10427
+ {
10428
+ "name": "scope",
10429
+ "type": {
10430
+ "fqn": "constructs.Construct"
10431
+ }
10432
+ },
10433
+ {
10434
+ "name": "id",
10435
+ "type": {
10436
+ "primitive": "string"
10437
+ }
10438
+ },
10439
+ {
10440
+ "name": "props",
10441
+ "optional": true,
10442
+ "type": {
10443
+ "fqn": "aws-cdk-lib.ResourceProps"
10444
+ }
10445
+ }
10446
+ ]
10447
+ },
10448
+ "interfaces": [
10449
+ "@robhan-cdk-lib/aws_aps.IResourcePolicy"
10450
+ ],
10451
+ "kind": "class",
10452
+ "locationInModule": {
10453
+ "filename": "src/resource-policy-base.ts",
10454
+ "line": 16
10455
+ },
10456
+ "name": "ResourcePolicyBase",
10457
+ "properties": [
10458
+ {
10459
+ "abstract": true,
10460
+ "docs": {
10461
+ "stability": "stable",
10462
+ "summary": "The JSON to use as the Resource-based Policy."
10463
+ },
10464
+ "immutable": true,
10465
+ "locationInModule": {
10466
+ "filename": "src/resource-policy-base.ts",
10467
+ "line": 20
10468
+ },
10469
+ "name": "policyDocument",
10470
+ "overrides": "@robhan-cdk-lib/aws_aps.IResourcePolicy",
10471
+ "type": {
10472
+ "primitive": "string"
10473
+ }
10474
+ },
10475
+ {
10476
+ "abstract": true,
10477
+ "docs": {
10478
+ "stability": "stable",
10479
+ "summary": "The workspace to attach the policy to."
10480
+ },
10481
+ "immutable": true,
10482
+ "locationInModule": {
10483
+ "filename": "src/resource-policy-base.ts",
10484
+ "line": 25
10485
+ },
10486
+ "name": "workspace",
10487
+ "overrides": "@robhan-cdk-lib/aws_aps.IResourcePolicy",
10488
+ "type": {
10489
+ "fqn": "@robhan-cdk-lib/aws_aps.IWorkspace"
10490
+ }
10491
+ }
10492
+ ],
10493
+ "symbolId": "src/resource-policy-base:ResourcePolicyBase"
10494
+ },
10495
+ "@robhan-cdk-lib/aws_aps.ResourcePolicyProps": {
10496
+ "assembly": "@robhan-cdk-lib/aws_aps",
10497
+ "datatype": true,
10498
+ "docs": {
10499
+ "stability": "stable",
10500
+ "summary": "Properties for creating an Amazon Managed Service for Prometheus Resource Policy."
10501
+ },
10502
+ "fqn": "@robhan-cdk-lib/aws_aps.ResourcePolicyProps",
10503
+ "kind": "interface",
10504
+ "locationInModule": {
10505
+ "filename": "src/resource-policy.ts",
10506
+ "line": 10
10507
+ },
10508
+ "name": "ResourcePolicyProps",
10509
+ "properties": [
10510
+ {
10511
+ "abstract": true,
10512
+ "docs": {
10513
+ "stability": "stable",
10514
+ "summary": "The JSON to use as the Resource-based Policy."
10515
+ },
10516
+ "immutable": true,
10517
+ "locationInModule": {
10518
+ "filename": "src/resource-policy.ts",
10519
+ "line": 14
10520
+ },
10521
+ "name": "policyDocument",
10522
+ "type": {
10523
+ "primitive": "string"
10524
+ }
10525
+ },
10526
+ {
10527
+ "abstract": true,
10528
+ "docs": {
10529
+ "stability": "stable",
10530
+ "summary": "The workspace to attach the policy to."
10531
+ },
10532
+ "immutable": true,
10533
+ "locationInModule": {
10534
+ "filename": "src/resource-policy.ts",
10535
+ "line": 19
10536
+ },
10537
+ "name": "workspace",
10538
+ "type": {
10539
+ "fqn": "@robhan-cdk-lib/aws_aps.IWorkspace"
10540
+ }
10541
+ }
10542
+ ],
10543
+ "symbolId": "src/resource-policy:ResourcePolicyProps"
9362
10544
  },
9363
10545
  "@robhan-cdk-lib/aws_aps.RoleConfiguration": {
9364
10546
  "assembly": "@robhan-cdk-lib/aws_aps",
@@ -11362,6 +12544,6 @@
11362
12544
  "symbolId": "src/workspace:WorkspaceProps"
11363
12545
  }
11364
12546
  },
11365
- "version": "0.0.144",
11366
- "fingerprint": "YMT50BSznna7Q1wTpVALIbYUjdKPNDOMu08Ct3EdmYM="
12547
+ "version": "0.0.146",
12548
+ "fingerprint": "2961115eJdO2KGhQM95UNm+98rBRkei3b5C0pPtZfCE="
11367
12549
  }