Skip to content

Commit 951d4f6

Browse files
authored
feat/aws example (#461)
* feat: add aws cli example
1 parent 63d2cc5 commit 951d4f6

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

examples/aws-cli-example.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# This example tests access for nri-flex to use the AWS CLI by executing the get-caller-identity command from Security Token Service (STS)
2+
# The root user that executes nri-flex will need access to the credentials for AWS that you want to use
3+
# NRQL validation: FROM aws_cli_test SELECT *
4+
integrations:
5+
- name: nri-flex
6+
interval: 300s
7+
config:
8+
name: aws_cli_test
9+
apis:
10+
- event_type: aws_cli_test
11+
commands:
12+
- run: "aws sts get-caller-identity"

0 commit comments

Comments
 (0)