-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathuseful stuff.txt
More file actions
28 lines (21 loc) · 986 Bytes
/
useful stuff.txt
File metadata and controls
28 lines (21 loc) · 986 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
aws ses send-email \
--from "johnsmith@example.com" \
--destination "ToAddresses=[johnsmith@example.com"] \
--message "Subject={Data=from ses,Charset=utf8},Body={Text={Data=ses says hi,Charset=utf8},Html={Data=,Charset=utf8}}"
aws ses send-email --from "johnsmith@example.com" --destination "ToAddresses=johnsmith@example.com" --text "hello" --subject "test"
aws lambda add-permission \
--function-name my-function \
--action lambda:InvokeFunction \
--statement-id sns \
--principal sns.amazonaws.com
aws events put-rule \
--name ra-checker-event \
--schedule-expression 'rate(5 minutes)'
aws lambda add-permission \
--function-name raEventHasTickets \
--statement-id ra-checker-event \
--action 'lambda:InvokeFunction' \
--principal events.amazonaws.com \
--source-arn arn:aws:events:eu-west-2:325588966347:rule/ra-checker-event
aws events put-targets --rule ra-checker-event --targets file://targets.json
export AWS_PAGER=""