def METHOD_NAME(self, communication_livetest_dynamic_connection_string):
    relay_client = CommunicationRelayClient.from_connection_string(
        communication_livetest_dynamic_connection_string,
        http_logging_policy=get_http_logging_policy()
    )
    expiry_time = 100
    # Make the request time to be time zome aware
    request_time = datetime.now()+ timedelta(seconds=expiry_time)
    request_time = request_time.replace(tzinfo=timezone.utc)
    print('Getting relay config with a specified ttl:\n')
    config = relay_client.get_relay_configuration(ttl=expiry_time)
    assert config is not None
    print('Requested time:' + datetime.strftime(request_time, "%m/%d/%Y, %H:%M:%S"))
    print('Expires on:' + datetime.strftime(config.expires_on, "%m/%d/%Y, %H:%M:%S"))
    if self.is_live:
        assert request_time <= config.expires_on
    print('Ice Servers:\n')
    for iceServer in config.ice_servers:
        assert iceServer.username is not None
        print('Username: ' + iceServer.username)
        assert iceServer.credential is not None
        print('Credential: ' + iceServer.credential)
        assert iceServer.urls is not None
        for url in iceServer.urls:
            print('Url: ' + url)
        print(iceServer.route_type)
        assert iceServer.route_type is not None