This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "Comment": "Iterator State Machine Example", | |
| "StartAt": "Iterator", | |
| "States": { | |
| "Iterator": { | |
| "Comment": "Iterate through all resources", | |
| "Type": "Task", | |
| "Resource": "arn:aws:lambda:us-east-1:773712834032:function:iterator_OY243", | |
| "ResultPath": "$.pageParams", | |
| "Next": "IsPageToken" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const AWS = require('aws-sdk'); | |
| const resourceAPI = new AWS.ResourceGroupsTaggingAPI({ apiVersion: '2017-01-26' }); | |
| const mandResourceTags = ['name', 'owner', 'cdate']; | |
| var pageParams = { | |
| PaginationToken: '', | |
| ResourcesPerPage: 10 | |
| }; | |
| var missedTags = []; | |
| exports.handler = async(event, context, callback) => { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| div { | |
| text-align: center; | |
| } | |
| #Neighborhood { | |
| color: brown; | |
| } | |
| #NewElement { | |
| color: green; | |
| } |