def get_resource_id()

in app/app.py [0:0]


def get_resource_id(event):
    """
    Returns the CFN Resource ID with format <cluster_name>_aws-auth.
    :param event: the CFN event
    :return: the CFN resource id
    """
    cluster_name = event["ResourceProperties"]['ClusterName']
    resource_id = cluster_name + "_aws-auth"

    return resource_id