I added a cloudwatch event target input in the json format
{ "config": us}
And I tried to get this event as a input in my Lambda function as
def lambda_handler(event, context):
con = event['config']
But this is not working , actually when I print just event , I am not getting any values
I tried con = event.config
def lambda_handler(event, context):
con = event.config
con1 = event['config']
print (con)
print (con1)