Skip to content

Commit

Permalink
minor release AWS Lambda script
Browse files Browse the repository at this point in the history
  • Loading branch information
ike-dai committed Sep 21, 2016
2 parents 2b8f53c + 011f94a commit 10d704d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/lambda_zabbix.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ def dispResult(self,response):
parser = argparse.ArgumentParser(description='Get Lambda Parameter.')

parser.add_argument('-r', '--region', required=True, help='Set AWS region name(e.g.: ap-northeast-1)')
parser.add_argument('-a', '--accesskey', required=True, help='Set AWS Access Key ID')
parser.add_argument('-s', '--secretkey', required=True, help='Set AWS Secret Access Key')
parser.add_argument('-a', '--accesskey', help='Set AWS Access Key ID')
parser.add_argument('-s', '--secretkey', help='Set AWS Secret Access Key')
parser.add_argument('-f', '--funcname',required=True, help='Set Function Name of AWS Lambda (e.g: arn:aws:lambda:ap-northeast-1:*******:function:Test')
parser.add_argument('-i', '--invocationtype',default='RequestResponse',help='Set invocation type: RequestResponse(sync), Event(async) or DryRun(test)')
parser.add_argument('-l', '--logtype',default='Tail',help='Set log data type. You can set this parameter only if you specify the InvocationType with value RequestResponse. Tail: Returns base64 encoded last 4KB of log. None: No returns log.')
Expand Down

0 comments on commit 10d704d

Please sign in to comment.