def create()

in cloudformation/custom_resources/getAppSyncEndpoint/custom_resource.py [0:0]


def create(event, context):
    appId = event["ResourceProperties"]["AmplifyAppIp"]
    amplify_build_job = amplify.start_job(
        appId=appId, branchName="main", jobType="RELEASE",
    )
    helper.Data["jobId"] = amplify_build_job["jobSummary"]["jobId"]
    helper.Data["appId"] = appId