def on_create()

in source/lambda/lambda_event_handler.py [0:0]


def on_create(event):
    props = event["ResourceProperties"]
    print("create new resource with props %s" % props)

    print('Run fargate task')
    run_fargate(props)

    physical_id = props['stack_name']
    return {'PhysicalResourceId': physical_id}