Created
October 21, 2022 02:03
-
-
Save pvillard31/0016b07a6aaaf8a7829b6276d4a53a74 to your computer and use it in GitHub Desktop.
Simple template for DataFlow Functions deployment in AWS Lambda
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
{ | |
"FunctionName": "FUNCTIONNAME", | |
"Timeout": 300, | |
"MemorySize": 1024, | |
"Environment": { | |
"Variables": { | |
"DF_ACCESS_KEY": "DFACCESSKEY", | |
"DF_PRIVATE_KEY": "DFPRIVATEKEY", | |
"FLOW_CRN": "FLOWCRN", | |
"EXTENSIONS_DIR_1": "/opt", | |
"NEXUS_URL": "https://maven-central.storage-download.googleapis.com/maven2", | |
"OUTPUT_PORT": "success" | |
} | |
}, | |
"EphemeralStorage": { | |
"Size": 2048 | |
}, | |
"Code": { | |
"S3Bucket": "BUCKETNAME", | |
"S3Key": "FILEKEY" | |
}, | |
"Role": "ROLEARN", | |
"Runtime": "java11", | |
"Handler": "com.cloudera.naaf.aws.lambda.StatelessNiFiFunctionHandler::handleRequest", | |
"Publish": false, | |
"PackageType": "Zip", | |
"Architectures": [ | |
"x86_64" | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment