def get_ecs_assumerole_policy(region=''):

    service = 'ecs.amazonaws.com'
    policy = Policy(
        Statement=[make_simple_assume_statement(service)]
    )
    return policy
Implements :func:`autobahn.wamp.interfaces.ITransportHandler.onOpen`
dataset/ETHPy150Open cloudtools/awacs/awacs/helpers/trust.py/get_ecs_assumerole_policy--crossover with--dataset/ETHPy150Open crossbario/autobahn-python/autobahn/wamp/protocol.py/ApplicationSession.onOpen