This file contains 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
import { CfnElement, CfnResource, IAspect, Stack } from 'aws-cdk-lib'; | |
import { IConstruct } from 'constructs'; | |
export interface IdMap { | |
[key: string]: string; | |
} | |
export class LogicalIdMapper implements IAspect { | |
constructor(private idMap: IdMap) { | |
} |
This file contains 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
exports.handler = async(event) => { | |
console.log(JSON.stringify(event.Records)); | |
if (event.Records) { | |
for (const record of event.Records) { | |
await process(record.s3); | |
} | |
} | |
}; |
This file contains 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
// ==UserScript== | |
// @name AWS Console - Move History to Main Nav Bar | |
// @namespace http://fourlittledogs.com/ | |
// @version 0.1 | |
// @description This script moves the Service History, normally accessible through a dropdown, to the main nav bar. | |
// @author @mattbonig | |
// @match https://console.aws.amazon.com/* | |
// @grant GM_addStyle | |
// @require http://code.jquery.com/jquery-3.3.1.min.js | |
// ==/UserScript== |